WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
jQuery Lightbox with NextGEN Gallery (4 posts)

  1. kld53
    Member
    Posted 3 years ago #

    Hello. I'm new to this stuff but doing my best to learn from examples.
    I'd like to know the most efficient way to do simple lightboxes in WP. I would like to specify a link (either text or an image) and have a popup of defined images that the user can click through. I do not want the images displayed on the page (just in the popup)

    I currently have jQuery Lightbox with NextGEN Gallery running.

    I have been successful with this method (not using a gallery).
    `<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
    <a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
    <a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>`

    Can someone explain this method to me. Give me sample code. What do I put for "gallery link" and what do I put for "file"
    [gallery link="file"]

    Again, if there is a better way to do a simple lightbox, please let me know.

    Thank you.

    http://wordpress.org/extend/plugins/wp-jquery-lightbox/

  2. ulfben
    Member
    Plugin Author

    Posted 3 years ago #

    How do I create WordPress galleries?
    Use the built-in media uploader to create and insert galleries in your posts. See the screencast (at 01:35), or read the instructions.

  3. kld53
    Member
    Posted 3 years ago #

    Thanks for your feedback. I've got down the inserting of images. It specifically the lightbox function from a gallery that I'm looking for. Thanks.

  4. ulfben
    Member
    Plugin Author

    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic