Not signed in (Sign In)

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

    • CommentAuthorsallam
    • CommentTimeOct 9th 2006
     
    Greetings

    Can anyone please show us how to add lightbox 2 to Plogger?
    What lines to edit in gallery.php?
    Lightbox 2 says we should add 'rel=lightbox' to links. But I failed to find where exactly in gallery.php should we add it.

    (I'm running Plogger alone, not as a WP addon)

    Many thanks in advance.
    • CommentAuthorsomeone1
    • CommentTimeOct 9th 2006 edited
     
    Where would u li ke to add it? To the big picture view or to the album view (where u can see all pictures as thumbnails and cliking on one will get u the lightbox script?)

    If it is the first:
    find:
    <a accesskey="v" href="'.$config["baseurl"].'images/'.$row["path"].'">'.$imgtag.'</a>

    replace:
    <a accesskey="v" href="'.$config["baseurl"].'images/'.$row["path"].'" title="'.$row["caption"].'" rel="lightbox">'.$imgtag.'</a>

    that will add the lightbox effect and also add the image description as the caption in the lightbox view

    Also be sure to add teh js files into the index.php (or w/e u are using) as well as the lightbox.css file...
    • CommentAuthorsallam
    • CommentTimeOct 14th 2006
     
    many thnaks indeed, someone1.
    I wanted to do it in the album view, when clicking the thumbnails.
    What to edit for that please?
    • CommentAuthorIntertech
    • CommentTimeOct 14th 2006
     
    Could someone post which line to edit to have the lightbox effect in the album view??
    • CommentAuthorIntertech
    • CommentTimeOct 14th 2006
     
    Oh, I got it ... thanks anyway