Link in image description?

How can i put a link in the description of an image? I tried with http:// , <a href... , and also [url] tags, but no use...So how can i add a link in the description of an image?

Comments

  • acrylian Administrator, Developer
    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).
  • Thanks i got it to work. the <a href... was working but since i was logged in as admin, i couldn't see it as a link...
  • 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.
  • 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.
  • 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
  • acrylian Administrator, Developer
    Well, it is working for me in Safari 3.1.2.
  • Thanks guys for the replies.
  • 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.
  • acrylian Administrator, Developer
    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?
  • 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!
Sign In or Register to comment.