Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorT2
    • CommentTimeMar 16th 2006 edited
     
    Hi All,
    I posted this question before, but have had no luck so far. Basically, I need to put a hyperlink in the picture caption, but no matter what I do, the link becomes part of the ALT tag and the large thumb shifts to the left.

    On line 197 of gallery.php I have:

    $output .= (trim($row["caption"]) != '') ? stripslashes($row["caption"]) : '';

    $output .= '

    I desperately need this capability. If anyone knows how it's is done (if it can be done), please post it and I will be eternally in your debt. What more could you want?

    THX,
    T2
    • CommentAuthorduztin
    • CommentTimeJun 15th 2006
     
    you can do this in mysql, under pictures, click on edit, then post the link in the caption area without the forward slash.

    Hope this helps
    • CommentAuthorT2
    • CommentTimeJun 15th 2006 edited
     
    Thank you very much duztin, I'll give it a try .

    Best Regards,
    T2
    • CommentAuthorduztin
    • CommentTimeJun 15th 2006 edited
     
    I was able to post images for pictures instead of using text it should work =)
    • CommentAuthorT2
    • CommentTimeJun 16th 2006 edited
     
    duztin,
    I gave it a try and the link does work, however it becomes part of the image alt tag and the text shows up at the bottom of the image (very ugly) as well as in the caption on top. You can see it here:

    http://www.fotograbber.com/gallery/index.php?level=picture&id=26

    I'm not sure what you mean when you say post the link without the forward slash.
    The link I inserted was:

    <a href="http://creativecommons.org/licenses/publicdomain/"> Public Domain</a>

    If you get a chance, please let me know what I'm doing wrong.

    Many THX,
    T2
    • CommentAuthorduztin
    • CommentTimeJun 18th 2006
     
    In mysql, when I posted <img src="someimage.gif"> it came up like <img src/="someimage/.gif"> (I think)

    I just tried it with an image and no it didn't work. I don't know how to do this I'm sorry.
    • CommentAuthorT2
    • CommentTimeJun 19th 2006
     
    duztin,
    Thanks for the effort. I was able to accomplish my objective by editing the EXIF data labels in gallery.php and then inserting the info and hyperlink for the image in MySQL. The link is know in the "Show/Hide Details", not the picture caption, but at least it's there. It would be nice if I could do it all through admin/plog-upload.php as this is a bit time consuming, but it worked and I would never have tried this if not for your initial suggestion, so thank you very much!

    Best Regards,
    T2