Photo Alt Tag

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

By design9 - August 7, 2010

Hello,
I have placed the correct php coding throughout my site on all photos to show an alt tag and everything works in the backend on upload but then when you go to the live site, none of the alt tags show up. Is there something I am doing wrong?

Here is a page where I have placed the

alt="<?php echo $upload['info1'] ?>

in the photo area.

Here is the page url:
http://www.charlotteparent.com/test/pregnancy/index.php

I have also attached the index page as well. Line 285

Thanks!
April
Attachments:

index_026.php 51K

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