Add Photo ID to a URL?

stevewest15
stevewest15's picture

Joined: 2004-07-19
Posts: 44
Posted: Mon, 2004-07-19 16:01

I'm trying to figure out what code I need to place in the html_wrap/inline_photo.frame file to be able to insert the image photo id from gallery inside a URL?

http://mydomain.com/buyme?action=add&product=GALLERY_PHOTO_ID

In the above example, I need the 'GALLERY_PHOTO_ID' syntex above to automatecally change to the actual image id based on what image the user is viewing. If the image id is MUSIC01, then the final URL would be:

http://mydomain.com/buyme?action=add&product=MUSIC01

Thanks,

SW

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2004-07-21 01:19

stevewest15,
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=84378#84378
is for a mailto link but I am sure you can change it to be a link.

remember that you need the album name as well because you might have more than one MUSIC01 item. Like in two or more different albums.

Dave