// fix bug display image in product.tpl

This commit is contained in:
lLefevre
2011-12-15 14:34:20 +00:00
parent 2f4572ace1
commit 944e65f6a0
-2
View File
@@ -172,12 +172,10 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
<!-- product img-->
<div id="image-block">
{if $have_image}
{if $have_image && $jqZoomEnabled}
<span id="view_full_size">
<img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic" width="{$largeSize.width}" height="{$largeSize.height}" />
<span class="span_link">{l s='View full size'}</span>
</span>
{/if}
{else}
<span id="view_full_size">
<img src="{$img_prod_dir}{$lang_iso}-default-large.jpg" id="bigpic" alt="" title="{$product->name|escape:'htmlall':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}" />