Support » Plugin: Responsive Lightbox & Gallery » How to group several images in a post

  • i’ve added a few images to a post (spread throughout the text) and when clicked the lightbox works, but they all appear as individual images, there is no navigation.
    manually adding rel=”lightbox” to the image links doesn’t work either as wordpress seems to automatically add a counter (“lightbox-1”), so that they’re all unique. i’ve tried all four scripts, all the same…
    anyone?
    thx!

    http://wordpress.org/plugins/responsive-lightbox/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dFactory

    (@dfactory)

    There is an option for that in plugin settings.

    I had the same problem. If you insert each image individually, like this,

    <a rel="lightbox" href="/wp-content/uploads/2014/01/fields.jpg">
       <img src="/wp-content/uploads/2014/01/my-image.jpg />
    </a>

    it will just blow up the image, and you can’t cycle through images.

    The best option is put them in a gallery:
    1. Click the Add Media button in post editor.
    2. Instead of “Insert Media,” select “Create Gallery”
    3. Select images, click “Create Gallery Button”

    The shortcode appears like this:

    [gallery ids="20,29"]

    Make sure to go to Settings > Responsive Lightbox, then enable Galleries.

    —EDIT—
    Looking at the General Settings more closely, it looks like you can cycle through multiple images in the lightbox without putting them in a gallery. Just Enable “Single images as gallery” in General Settings.

    But I think it makes more sense from a structural perspective to put gallery-type images in a gallery. You may want a separate functionality for single images. There’s also the chance that cycling through would include elements of the page (i.e. an image used for a header).

    Super – “Just Enable “Single images as gallery” in General Settings” thanks lupinski

    have either of you found this fix to work? mine stopped creating gallery of single images a couple of wp updates ago. did what you recommended and no change for me

    http://jefdesigns.com/product/geode-laptop-ipad-skin-cream/

    These settings work fine for me:

    Enable “Single images as gallery” in General Settings.

    Thanks for the tips, lupinski!

    yeah, normally that would work, but wasn’t playing well with woocommerce. got a fix from dfactory

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to group several images in a post’ is closed to new replies.