eliaca Posted December 17, 2014 Share Posted December 17, 2014 Hi, some time ago I've noticed that on the last added products only one thumbnail is showed even though more than one image has been uploaded. Here's an example: http://www.gastrodomus.it/sfogliatrici/3497-sfogliatrice-lunghezza-rulli-500-mm.html Here's the code that controls the thumbnails in the product.tpl file: <!-- thumbnails --> <div id="views_block" class="clearfix {if isset($images) && count($images) < 2}hidden{/if}"> <!--{if isset($images) && count($images) > 3}<span class="view_scroll_spacer"><a id="view_scroll_left" class="hidden" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Previous'}</a></span>{/if}--> <div id="thumbs_list"> <ul id="thumbs_list_frame"> {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} <li id="thumbnail_{$image.id_image}"> <a href="{$link->getImageLink($product->link_rewrite, $imageIds, thickbox_default)}" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium_default')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> </a> </li> {/foreach} {/if} </ul> </div> <!--{if isset($images) && count($images) > 3}<a id="view_scroll_right" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Next'}</a>{/if}--> </div> {/if} {if isset($images) && count($images) > 1}<p class="resetimg clear"><span id="wrapResetImages" style="display: none;"><img src="{$img_dir}icon/cancel_11x13.gif" alt="{l s='Cancel'}" width="11" height="13"/> <a id="resetImages" href="{$link->getProductLink($product)}" onclick="$('span#wrapResetImages').hide('slow');return (false);">{l s='Display all pictures'}</a></span></p>{/if} <!-- usefull links--> <ul id="usefull_link_block"> {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} <li class="print"><a href="javascript:print();">{l s='Print'}</a></li> {if $have_image && !$jqZoomEnabled} {/if} </ul> </div> Here's a product showing thumbs properly: http://www.gastrodomus.it/abbattitori/2144-abbattitore-3-teglie-gn23-in-acciaio-inox.html It's a 1.5.3.1 with default theme. Hope somebody can help me, thank you! elia Link to comment Share on other sites More sharing options...
rytiz2873 Posted December 18, 2014 Share Posted December 18, 2014 if you can, try to disable MODULE Attribute Wizard and then check 1 Link to comment Share on other sites More sharing options...
eliaca Posted December 19, 2014 Author Share Posted December 19, 2014 Yes rytiz, that seems to cause the issue, maybe an update could resolve this? Link to comment Share on other sites More sharing options...
rytiz2873 Posted December 19, 2014 Share Posted December 19, 2014 if is a new version of this module, you can try Link to comment Share on other sites More sharing options...
Recommended Posts