seldon.paul2 Posted November 19, 2010 Share Posted November 19, 2010 in thumbnails, if I want to increase the item to be shown from 3 to 10?what do I need to change.(Picture attached) Link to comment Share on other sites More sharing options...
tif Posted February 14, 2011 Share Posted February 14, 2011 Hi,How did you solve this problem? I have the same issue. Link to comment Share on other sites More sharing options...
MathieuB Posted February 16, 2011 Share Posted February 16, 2011 change the value of nbimagesdisplayed should work in the js file => product.js serialScrollNbImagesDisplayed = 10; // Serialscroll exclude option bug ? function serialScrollFixLock(event, targeted, scrolled, items, position) { serialScrollNbImages = $('#thumbs_list li:visible').length; serialScrollNbImagesDisplayed = 3; var leftArrow = position == 0 ? true : false; var rightArrow = position + serialScrollNbImagesDisplayed >= serialScrollNbImages ? true : false; $('a#view_scroll_left').css('cursor', leftArrow ? 'default' : 'pointer').css('display', leftArrow ? 'none' : 'block').fadeTo(0, leftArrow ? 0 : 1); $('a#view_scroll_right').css('cursor', rightArrow ? 'default' : 'pointer').fadeTo(0, rightArrow ? 0 : 1).css('display', rightArrow ? 'none' : 'block'); return true; } and you should move also the product.tpl {if count($images) > 3} for {if count($images) > 10} : {if count($images) > 3}{l s='Previous'}{/if} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value=`$product->id`-`$image.id_image`} getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="{if !$jqZoomEnabled}thickbox{/if} {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> {/foreach} {if count($images) > 3}{l s='Next'}{/if} Link to comment Share on other sites More sharing options...
birken Posted May 13, 2011 Share Posted May 13, 2011 Hello,i tried that it worked but allthe pics in a long row, is it possible to make it break every 4 pics to a new row?warm regards K Link to comment Share on other sites More sharing options...
MathieuB Posted May 16, 2011 Share Posted May 16, 2011 can you share me the link, i'm gonna look it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now