Guest Posted April 18, 2011 Share Posted April 18, 2011 I noticed that osc doesn't have a way to add alt tags to images. I use Additional Images Mod but it doesn't have a way to add the alt text. Does anyone have an idea on how to accomplish this? Link to comment Share on other sites More sharing options...
npn2531 Posted April 18, 2011 Share Posted April 18, 2011 You can add the alt tag directly in the html of the image. I'm assuming you are asking about images other than product images For example, the image below has an alt tag of 'myimage': echo tep_image('images/'. 'myimage.jpg', 'myimage', '220', '88'); Whatever you type between the '' in the first set of '' after the image name will show up as the 'alt tag' . The next two are image width and height, which in this example I have hardcoded. The alt, height and width of product images are best edited in the admin->catalog Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120 Link to comment Share on other sites More sharing options...
Guest Posted April 20, 2011 Share Posted April 20, 2011 How do you edit the alt tags for product images? I don't have a catalog folder in my admin. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.