Quote:
Here is a good example of a page that has them.
|
If you check the source code, you'll see they already have ALT tags.
If using
Firebug, right click on an image and select 'inspect element'.
If you want to add TITLE tags instead, edit skin/common_files/modules/Detailed_Product_Images/product_images.tpl
Replace...
Code:
<img src="{if $i.image_url}{$i.image_url|amp}{else}{$xcart_web_dir}/image.php?id={$i.imageid}&type=D{/if}" alt="{$i.alt|escape}"{if $smarty.foreach.images.last} class="last"{/if} />
With...
Code:
<img src="{if $i.image_url}{$i.image_url|amp}{else}{$xcart_web_dir}/image.php?id={$i.imageid}&type=D{/if}" alt="{$i.alt|escape}" title="{$i.alt|escape}"{if $smarty.foreach.images.last} class="last"{/if} />
Or, for a caption, you can add this code after the code above...
Code:
<p align="center">{$i.alt|escape}</p>
Etc.