PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 15th, 2008, 02:03 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 31
Question About Image Alt Text

I was recently reviewing the alt tags for images on our site and noticed what seems like a big problem - when you view a photo in photopost, for example http://www.breederretriever.com/phot....php/photo/783 - the main image doesn't seem to have any alt text...?

I would like to have the alt text for this image be the same as the page title for accessibility reasons. In the example above, this would be "Chihuhuas Meeting Great Danes." Is there a setting I missed in the admin panel to implement this, or is there perhaps a code modification someone could recommend?

Thanks so much.

Kris
kkibak is offline   Reply With Quote
Old January 15th, 2008, 07:38 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
In showphoto.php you can replace

Code:
Content visible to verified customers only.
with this

Code:
Content visible to verified customers only.
on the $imgdisp lines.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 15th, 2008, 08:24 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 31
Great! Worked like a charm, thanks!

I don't mean to push my luck here but would you mind telling me what the name of the variable is that holds the category (within showphoto.php)? I would like to make it something like "alt=\"$filename - $categoryname\" so the ALT text would end up, for example, as "Chihuhuas Meeting Great Danes. - Chihuahua" as opposed to just "Chihuhuas Meeting Great Danes."

Thanks again for your help.

Edit: Oops! I just realized it looks like the change you gave me is putting the actually file name (minus the .jpg) as the alt text - is there a way I could use the page title instead? That is, the short descriptiono of the photo the user entered when uploading?
kkibak is offline   Reply With Quote
Old January 15th, 2008, 08:46 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Title variable is $title

Catname is $thecatname
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 15th, 2008, 12:24 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 31
Great, just what I was looking for, thanks.
kkibak is offline   Reply With Quote
Old January 15th, 2008, 12:25 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Not a problem glad to assist.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
make thumbnail image has no alt text Silver_2000 Photopost Pro Bug Reports 18 October 5th, 2007 08:58 AM
unable to view alt text SaN-DeeP Photopost Pro How Do I...? 4 March 22nd, 2006 06:05 PM


All times are GMT -5. The time now is 04:32 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0