diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php
index c4074b1c2..ddb8667a4 100644
--- a/web/skins/classic/includes/functions.php
+++ b/web/skins/classic/includes/functions.php
@@ -718,7 +718,7 @@ function getMontageReviewHTML($view) {
function getSnapshotsHTML($view) {
$result = '';
- if ( canView('Events') ) {
+ if ( canView('Snapshots') ) {
$class = $view == 'snapshots' ? ' selected' : '';
$result .= '
Events();
- $width = 100 / ( ( count($events) < 4 ) ? count($events) : 4 ) -1;
+ $width = 100 / ( count($events) < 2 ? 1 : ( ( count($events) < 4 ) ? count($events) : 4 ) )-1;
foreach ( $snapshot->Events() as $event ) {
$imgSrc = $event->getThumbnailSrc(array(), '&');
echo '
.'&fid=snapshot)
';
diff --git a/web/skins/classic/views/snapshots.php b/web/skins/classic/views/snapshots.php
index 781aff967..a5f58f600 100644
--- a/web/skins/classic/views/snapshots.php
+++ b/web/skins/classic/views/snapshots.php
@@ -18,7 +18,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
-if ( !canView('Events') || (!empty($_REQUEST['execute']) && !canEdit('Events')) ) {
+if (!canView('Snapshots')) {
$view = 'error';
return;
}