Member
Member
romainbj   2008-08-22, 10:42
#1
Hi there
is there any way/function to get image's raw url?
Le me explain : i want my visitors to be able to post the images on other sites like myspace. So i've put a text area under the image but no way to get image real url to put in the code that will display into this box...
look here : http://dirtydirtydancing.com/default.aspx?Album=Bugged%20Out%20%20At%20Field%20Day%20-%209th%20August&Image=DSC_0002.jpg

thats what i want to do on my gallery!
Administrator
Administrator
acrylian   2008-08-22, 11:10
#2
Maybe this? http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetFullImageURL
Member
Member
romainbj   2008-08-22, 13:26
#3
thats the function i first thought of but this would return the url of the page where the photo is, not the url of the image itself
Member
Member
romainbj   2008-08-22, 13:37
#4
i tested it again and it actually returns the url of the image but for some reason it won't show in myspace

If i right click the image on my gallery i would get this kind of url and this works on myspace :
http://www.mysite.com/cache/Parties/thelastparty/myimage.jpg_800.jpg

but if i use the getFullImageURL fonction i would get this url that wont show the image on myspace :
http://www.mysite.com/albums/Parties/thelastparty/myimage.jpg

i need to get the first one.
Administrator
Administrator
acrylian   2008-08-22, 13:45
#5
Then you mean probably this: http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetDefaultSizedImage
Member
Member
romainbj   2008-08-27, 08:10
#6
thank you made my day!
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.