diff --git a/3.0/themes/pear4gallery3/js/pear.js b/3.0/themes/pear4gallery3/js/pear.js index e277d1ec..d1c8d44a 100644 --- a/3.0/themes/pear4gallery3/js/pear.js +++ b/3.0/themes/pear4gallery3/js/pear.js @@ -411,7 +411,7 @@ function startImageFlow(userSet) $('#pearImageFlow').append(img); } pearCarousel = new ImageFlow(); - pearCarousel.init({ImageFlowID: 'pearImageFlow', aspectRatio: 2.4, imagesHeight: 0.6, opacity: true, reflections: false, startID: currentImg, onClick: function() {focusImage($(this).attr('longdesc'));}, startAnimation: true, xStep: 200, imageFocusM: 1.7, imageFocusMax: 4, opacityArray: [10, 9, 6, 2], percentOther: 130, captions: false, slider: false}); + pearCarousel.init({ImageFlowID: 'pearImageFlow', aspectRatio: 2.4, imagesHeight: 0.6, opacity: true, reflections: false, startID: currentImg+1, onClick: function() {focusImage($(this).attr('longdesc'));}, startAnimation: true, xStep: 200, imageFocusM: 1.7, imageFocusMax: 4, opacityArray: [10, 9, 6, 2], percentOther: 130, captions: false, slider: false}); } switchMode('carousel'); mosaicResize(); diff --git a/3.0/themes/pear4gallery3/views/album.html.php b/3.0/themes/pear4gallery3/views/album.html.php index ecd4af1e..455dba8f 100644 --- a/3.0/themes/pear4gallery3/views/album.html.php +++ b/3.0/themes/pear4gallery3/views/album.html.php @@ -50,10 +50,10 @@ if($child->is_album()): $offset = 0; $step = round(200/min(count($granchildren),50)); foreach ($granchildren as $i => $granchild):?> - 50) break; ?> + 50) break; ?> has_thumb()): ?> thumb_img(array("style" => "display: none;")) ?> -
+