View Single Post
  #5  
Old 08-26-2006, 05:30 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default Re: Adding the Product Title to Detailed Image Alt Tag

Quote:
Originally Posted by Scott DeToffol
Can someone expand on this? I don't see where what to replace with "{$product.product}" in \product_images.php

Code:
{section name=image loop=$images} {if $images[image].avail eq "Y"} {if $images[image].tmbn_url} <IMG src="{$images[image].tmbn_url}" alt="{$images[image].alt|escape}"> {else} <IMG src="{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}" alt="{$product.product} - {$images[image].alt|escape}"> {/if} <BR> <BR> {/if} {/section}

In this case, the alt tag on the website reads "TITLE - Item's given alt tag"
__________________
Version 4.0.17/4.0.18
Reply With Quote