Automatic Image Alternative Text - 2.1.4

/skins/your_skin/customer/common_templates/image.tpl line 118:


	{if !(($object_type == "category" || $object_type == "detailed_category") && !$icon_image_path)}<br />
	<img class="{$valign} {$class}" {if $obj_id && !$no_ids}id="det_img_{$obj_id}"{/if} src="{$config.full_host_name}{$icon_image_path|default:$config.no_image_path}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}"{/if} {if $images.icon.alt}alt="{$images.icon.alt|default:$images.detailed.alt}"{else}alt="{$product.product|escape:html}"{/if} {if $image_onclick}onclick="{$image_onclick}"{/if} border="0" /><br />
	{/if}

Awesome! I just asked about this last night. But I don’t have 2.1.4 yet (2.0.11). Since the upgrade is in the works, I may just wait and mess with this at at that point.



Thanks!

Nice one Tool, works a treat



John

Can you show how to create a hook for it instead of modifying the source code directly