ZenphotoCMS Forum
Link in image description? - 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: Link in image description? (/thread-3999.html)



Link in image description? - campolar - 2008-10-31

How can i put a link in the description of an image? I tried with http:// ,




Link in image description? - acrylian - 2008-10-31

You need to use normal html markup. Depending on your Zenphoto version you probably need to add the a tage to the allowed tags first. (in the options).




Link in image description? - campolar - 2008-11-01

Thanks i got it to work. the




Link in image description? - darrellm - 2008-11-01

Hi, I'm having the same problem but with Zenphoto 1.2.1 and Zenpage. All my links that previously worked on earlier versions of Zenphoto is no longer working. Take a look at this link as an example - http://mlownie.com/gallery/index.php?album=retrospective&image=dream_of_flight.jpg

Under the image description I wanted to add a pop-up link to show detailed areas of an image. And also, I would like to make the image name in bold. I looked in the gallery configuration but can't seem to figure out how the allowed tags work.

Thanks for any help you could offer.




Link in image description? - sbillard - 2008-11-01

Not sure what you have done here. The HTML of your link is detail

So, what did you think you were putting in the description? The tags you used are allowed (or they would have been stripped out) they just don't seem to be correct.




Link in image description? - darrellm - 2008-11-02

I had placed the correct link:
detail

However, when I clicked "save", it somehow added the denied:denied:denied: into it. I don't know what happened.

Maybe we'll have a better luck with this example:
http://mlownie.com/gallery/index.php?album=retrospective&image=gemini.jpeg




Link in image description? - acrylian - 2008-11-02

Well, it is working for me in Safari 3.1.2.




Link in image description? - darrellm - 2008-11-02

Thanks guys for the replies.




Link in image description? - darrellm - 2008-11-05

O.k., I don't mean to beat this subject to death - but I'm still having trouble with inserting a pop-up window (in the image description) to show the detail of the image.

I'm trying to put this code in:
detail
But when I do and click save, this is what shows up:
detail

And this is what I have in my allowed tag field in the gallery configuration section:
a => (href => () title => ()) abbr => (title => ()) acronym => (title => ()) b => () blockquote => (cite => ()) code => () em => () i => () strike => () strong => () ul => () ol => () li => ()
Am I missing something to make this work?
Also, I did have to put this code in the head section of image.php:
`

`
If anyone has any ideas what's going on or if you have other ideas on how I can show the detail of the image in any other way, I'd be happy to hear it. Thanks.




Link in image description? - acrylian - 2008-11-05

Try to exted the a => part with the onfocus and onclick atributes otherwise they are stripped. Btw, why don't you use thickbox or so?




Link in image description? - darrellm - 2008-11-05

Thanks acrylian, I knew something was missing. I just didn't know which of the attributes.
I tried to use something similar to thickbox but it didn't quite work either. Anyway, just helping a friend. So I wanted to set him up with something he could easily update himself. I figure he'll just copy/paste the code from here on.

Thanks again!