WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
[resolved] Two images, Only one appears in Lightbox (4 posts)

  1. baseballisms
    Member
    Posted 2 years ago #

    I am using wp-jquery-lightbox version 1.3.3 on WP 3.2.1.

    In my posts, I typically have two images with one set as Featured Image before inserting into the post. http://baseballisms.com/jim-fregosi-1978-pirates.html

    The situation I am having is that the secondary image appears perfectly via Lightbox, but the Featured image does not.

    I cannot even insert a direct link to the image in the Image properties box. It works on the secondary image, but not for the Featured Image.

    Am I missing a setting somehow?

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

  2. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    The featured image is not a link. Lightbox works with links.

    You've got: <img src="featuredimage.jpg" />
    You need;

    <a href="featuredimage.jpg" rel="lightbox">
        <img src="featuredimage.jpg" />
    </a>
  3. baseballisms
    Member
    Posted 2 years ago #

    It's interesting. If I enter the text on the post first, and then place the images it works fine. If I reverse the order only one image appears in a lightbox while the featured image link gets stripped out.

  4. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    Not a problem with the plugin. Marking this as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic