// fix bug display image in product.tpl
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11266 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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}" />
|
||||
|
||||
Reference in New Issue
Block a user