ZenphotoCMS Forum
path of image for hotlinking - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: path of image for hotlinking (/thread-5494.html)



path of image for hotlinking - thebluebus - 2009-07-17

unlike most it seems, i want to allow hotlinking and even provide a textarea box underneath the image with the full address of the image enclosed in [img] tags to encourage this.

what function should i be using to call the full direct url of the image?

thanks

(cracking bit of software by the way)




path of image for hotlinking - sbillard - 2009-07-18

getUnprotectedImageURL(). This and all our functions are described in the function guide on the Zenphoto web pages.




path of image for hotlinking - thebluebus - 2009-07-18

must have missed it in the guide, i did look. thanks a lot




path of image for hotlinking - thebluebus - 2009-07-18

now working on my test site

http://www.tyrestretch.com/zen/zenphoto/8_195_45_R15/8_195_45_15_Goodyear_Eagle_F1.jpg.php




path of image for hotlinking - sbillard - 2009-07-18

Please see http://www.htmlcodetutorial.com/forms/_TEXTAREA.html. Note particularly the comment The contents are interpreted as text only; HTML markup is ignored.