Photo Alt Tag

4 posts by 2 authors in: Forums > CMS Builder
Last Post: August 9, 2010   (RSS)

Re: [apdance9] Photo Alt Tag

By Jason - August 9, 2010

Hi April,

There isn't a problem with your code. The line that you mention (285) on that page outputs a picture called maternitypic.jpg. This does have information in it's alt tag. The rest of the picture that you output (about line 299 onwards) are not outputting info1 into the alt property. You'll just need to go through and add your code to these.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Photo Alt Tag

By design9 - August 9, 2010

Hi Jason,
I did that and it still doesn't display any alt tags on the page with any of the photos. I placed the coding for all photos and I checked and all photos have text input in the backend on photo upload. Do you know of any other issue that may be causing this?

April

Re: [apdance9] Photo Alt Tag

By Jason - August 9, 2010

Hi April,

It appears that all of the images that are being pulled out of CMS Builder do have the proper alt tags. If you view the page source, you'll see there is information in the alt tag. The only places I'm seeing empty alt tags is were the images have been hardcoded in, such as newslettericon.png, twiiterbirdgraphic.png, longdivider.jpg, etc.

If you're looking for the property that will display text when you move your mouse over the image, try the title property of the img tag instead of alt.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/