Jump to content

Pics not visible in IE (Chrome, Firefox and Safari ok!)


Recommended Posts

I added the following code to the bottom of the products.tpl file, so that I can display a vertical list of all my images. However it doesn't work in IE. I think it has something to do with the DIV tags clashing with the "More information" block (which I copied), or maybe something about the variable count being copied as well?





       {if $product->description}{l s='More pics'}{/if}   







   {if count($images) > 0}

       <!-- thumbnails -->

       {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="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}">

getImageLink($product->link_rewrite, $imageIds, 'large')}" alt="{$image.legend|htmlspecialchars}" height="{$largeSize.height}" width="{$largeSize.width}" />





       {/foreach}




   {/if}

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...