Zen Cart Logo

alt tags

Locked

Views: 883

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Oct 2008, 7:24 AM
#1
feolindo avatar

feolindo

New Zenner

Join Date:
Aug 2008
Posts:
45
Plugin Contributions:
0

alt tags

I want to change the Alt language on some of the image links. How do I do that? Where are these Alt tags defined? I've looked through dozens of pages of code and been searching the forum here and the web in general for hours looking for the answer.:frusty:
Its probably right in front of me but if it is, I can't see it. Anyone know?

26 Oct 2008, 7:37 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: alt tags

If you're referring to alt text on "additional" product images, there is presently no facility built-in to set different text for each image. Instead, for products, the alt text is taken from the product name.

Or are you referring to some other set of images?

26 Oct 2008, 7:53 AM
#3
feolindo avatar

feolindo

New Zenner

Join Date:
Aug 2008
Posts:
45
Plugin Contributions:
0

Re: alt tags

Should have been clearer. I'm referring to the alt tags for the buttons. for instance the "category home" button on the product info page (between 'next' and 'prev') currently has a Alt tag "return to the product list". i want to modify that a bit as well as some of the other button alt tags.
Hope that's clear.
Thanks

26 Oct 2008, 1:00 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: alt tags

For buttons, there is a "button_names.php" language file in which you can customize the alt text (2nd half of the file).
Additionally, you can typically locate such a location by using the Developers Toolkit and searching for the text you want to change ... ie: "return to product list"
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39

Remember to save you language-file edits to an override folder.