Display image url in a textbox below image for sharing.

alabuwada

Joined: 2004-12-03
Posts: 8
Posted: Wed, 2009-03-18 09:59

I want to print out the url in a textbox of each main image so people can easily copy the link and post it up elsewhere.

example:
Share URL (Permalink): http://www.xxx.com/photos/coverage/0/1105/2/1/1/
Embedded HTML: <a href="http://www.xxx.com/events/1105/" target="_blank"><img src="http://www.xxx.com/media/events/1105/59325.jpg"></a>

I tried print $gallery->album->getPhotoPath($index, 1); but that only prints out the url in text, and not in a textbox.

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-03-19 03:11

G2 has the geturls module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
alabuwada

Joined: 2004-12-03
Posts: 8
Posted: Thu, 2009-03-19 03:20

thanks, but i have 3 servers of pictures on G1 :/