Adding Photo Titles to alt tags | Displaying captions

2 posts by 2 authors in: Forums > CMS Builder
Last Post: October 21, 2008   (RSS)

Re: [meg] Adding Photo Titles to alt tags | Displaying captions

By Ryan - October 21, 2008 - edited: October 21, 2008

Hi Meg, try using these

<?php echo $upload['info1'] ?> (This displays the photos title)

<?php echo $upload['info2'] ?> (This displays the photos caption)

Example

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

Ryan