Forums / General Questions / Adding Alt tags for images ?

Adding Alt tags for images ?

Locked

Started by kevinmc3 on 23 Jul 2010, 9:37 PM · Views: 3,515

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Jul 2010, 9:37 PM
#1
kevinmc3 avatar

kevinmc3

Totally Zenned

Join Date:
Jun 2006
Posts:
786
Plugin Contributions:
0

Adding Alt tags for images ?

Is there any way to add Alt text to product images eithe rin the product page or image handler? I have read a post here that required PHP file edits which seems like a really inefficient way to do it.

It would be great if the product page had a field added for image ALT text. i.e. image description.

23 Jul 2010, 9:43 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Adding Alt tags for images ?

All the product images shown by a clean uncustomized install of Zen Cart will include ALT tags and TITLE tags stating the product name.
There is no built-in facility in the v1.x series of Zen Cart to customize ALT text for each individual additional image: all share the same ALT tag. For the most part this is sufficient since the images typically are actually directly related to what the product name is set to.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Jul 2010, 6:48 PM
#3
ithxsmir avatar

ithxsmir

New Zenner

Join Date:
May 2010
Posts:
2
Plugin Contributions:
0

Re: Adding Alt tags for images ?

So does this mean any Images uploaded after the original install have no alt tag, or do they get assigned the product title as an alt tag?

27 Jul 2010, 7:51 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Adding Alt tags for images ?

Ithxsmir:

So does this mean any Images uploaded after the original install have no alt tag, or do they get assigned the product title as an alt tag?
If you're using uncustomized Zen Cart, then the product title is used as the ALT and TITLE tag, regardless of when the images were uploaded.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.