Quote Originally Posted by ibezenned View Post
Hi all!

I've search everywhere and still no luck. I'm looking to add the names of my attribute images (color: "red", "blue" etc.. or name of design: "design a", "design b" etc...) to the image alt and title tags. I cannot find anywhere to add this to the code?

Anyone else have this?
Hi to all,

I have the same problem as ibezenned. FAQ and Search didn't turn up any results on this problem, if I am wrong by all means slap me and gimme a URL and I will hang my head in shame.

I need to add title/alt text to the product attribute images but I cannot see exactly where I should be making the change.

I can see that tpl_modules_attributes.php is executing this bit of code:

echo $options_attributes_image[$i];

and this is the line that inserts the <img src....> tag into the output stream. But it looks like this tag is built in attributes.php and I really would like a pointer before attempting to take an axe to this this file.

Initially I would like to add the attribute option name to the title/alt tag as I removed all the text leaving just the images to display in the attributes area of the product info.

I can't provide a link as the setup is currently hosted on an internal web server
Zen Cart is v1.3.8a, I am using a my own template, no addons affecting product attributes in place at all.

Slan.