WordPress.org

Support

Support » Plugins and Hacks » WP jQuery Lightbox » [Plugin: WP jQuery Lightbox] link to a gallery

[Plugin: WP jQuery Lightbox] link to a gallery

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ulfben

    @ulfben

    You’re not making any sense whatsoever. So I’ll just answer whatever I believe you’re asking.

    WP jQuery Lightbox deals with LINKS-to-IMAGES. You want a set of lightboxed images without displaying them on the page? Then don’t use the IMG-tag.

    <a href="whatever.jpg">Click to show first image</a>
    <a href="second_pic.jpg"></a>
    <a href="third_pic.jpg"></a>

    This yields a link to display the first image, and all three jpgs will be in the lightbox-set.

    If this is not what you’re looking for, then please try again. For what it’s worth; "file route", "[roadtrip]", "i already tried that" and "it doesn't work" doesn’t mean anything to me. What did you try? What doesn’t work? What did you expect and how does it fail?

    Don’t worry Ulf, I’m just not able to explain what I’m trying to do.
    Thank you for your time, your quick response and the wonderful plugin.
    I will ask for some language help, maybe I’ll look for some examples and I’ll be back 😉

    Hi Ulf,

    thanks for your wonderful plugin, now I can finally present my galleries the way I always wanted to!
    I’m doing it the way you explained it to fuente_salus, and it works great.
    The ONLY lightbox plugin that works for me, btw!
    …but, of course, I’m not 100% happy. I’m not even sure that it has to do with your plugin, but I ask for your help anyway in hope for a solution. My problem is that I don’t want the large space that all these non-displayed links to images take (for example <a href="second_pic.jpg"></a><a href="third_pic.jpg"></a>).
    How can I link images without letting take them so much space?

    Plugin Author ulfben

    @ulfben

    They shouldn’t take up any space at all, provided you don’t put any characters between the opening and closing tags the browser won’t render them.

    Make sure your links are not wrapped in block elements.
    Check your CSS so it doesn’t apply excessive margin / padding or something like that.
    And make sure your editor is not adding crap to your input.

    Hi Ulf again,
    You’re right, the links shouldn’t take up any space at all. That phrase and the possibility of “crappy input” by my editor made me think again and led me to the solution:
    There were no characters between the tags, no block elements, no CSS-margins – and no crappy input! 😉
    But, to make the code easier for me to read and to change, I had put every link on a new row – THAT was the problem. All links in a row = no problem!
    Thank you very, very much for your quick response!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP jQuery Lightbox] link to a gallery’ is closed to new replies.
Skip to toolbar