Jump to content

Alt attribute large product image


Recommended Posts

in the product.tpl of your theme, search

 

<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}" />

 

and replace the alt to

 

alt="{$image.legend|htmlspecialchars}"

Link to comment
Share on other sites

×
×
  • Create New...