Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Posts
    18
    Plugin Contributions
    0

    Default Attribute Image Alt/Title Text

    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?

  2. #2
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Attribute Image Alt/Title Text

    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.

  3. #3
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Attribute Image Alt/Title Text

    No one has any idea how to do this?

  4. #4
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Attribute Image Alt/Title Text

    bump bump bump

 

 

Similar Threads

  1. edit alt text(title) of a sidebox image
    By wagnerguy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jan 2012, 07:44 AM
  2. Adding alt text to an image
    By member in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 15 Nov 2010, 04:28 PM
  3. How to Remove Small image Caption/Title/Alt?
    By rlexyd in forum General Questions
    Replies: 4
    Last Post: 5 Sep 2010, 09:39 PM
  4. Image ALT text
    By Zeezmom in forum General Questions
    Replies: 5
    Last Post: 28 Apr 2010, 09:28 PM
  5. Replies: 3
    Last Post: 30 Jul 2008, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg