Results 1 to 3 of 3

Thread: How to add description to popup image? (PHP photo album)

  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to add description to popup image? (PHP photo album)

    Hello. I'm new so any help would be greatly appreciated. I just started using the PHP Photo Album script v2.11 which is great. The problem is that I need to add a short manual description to each image in the enlarged popup image window (NOT a manual description to the thumbnail image). I would want to put this short description next to the left of the "CLOSE X" bar that is at the bottom of each image. I want to use a different description for each photo.

    Is there a way to do this in list format so that i can continue to just add photos to my album and update the description list - rather than have to go in and change the html page everytime?? Thank you!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Right now you can show a custom description beneath a thumbnail, by manually defining them on the page using the syntax:

    Code:
    //Optional, manual description for particular pictures inside album
    //Syntax: albumid.desc[index]="Picture description here"
    //eg: myvacation.desc[2]="This is description for the 3rd picture in the album"
    //eg: myvacation.desc[6]="This is description for the 7th picture in the album"
    Are you asking how to basically to move this description from the bottom of the thumbnail into the bottom of the enlarged image`s container?
    DD Admin

  3. #3
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi

    it wasn't my question, but yes i would love to know how to move the description to the pop up window!

    can it be done?

    cheers

Bookmarks

Posting Permissions

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