Support » Plugin: WP Featherlight - A Simple jQuery Lightbox » adding Next and Previous image functionality

  • hello
    first of all thanks for this nice plugin.
    can you add functionality of viewing other images with “Next and Previous” without having to close the lightbox.
    thanks in advance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ozzy Rodriguez

    (@ozzyr)

    That works automatically when you use it with a gallery, but not with single images.

    wildfire9859

    (@wildfire9859)

    that sounds weird because it doesn’t work for me….

    wildfire9859

    (@wildfire9859)

    its funny though , i do have the Next and Previous functionality on product thumbnail(Single Image) but not on gallery…

    Plugin Author Ozzy Rodriguez

    (@ozzyr)

    Very weird.

    Can you provide a link to an example? A product page with a thumbnail that also has a single image as well as a gallery somewhere on the page would be perfect.

    Hi,
    I really like how the plugin pops up – nice display of an image.

    But like the others I also dont see Next or Previous buttons and so I cannot use this plugin.

    Is there ANYTHING we can do or setup so this would work?

    Plugin Author Ozzy Rodriguez

    (@ozzyr)

    If they’re single images, the plugin doesn’t do this on purpose and we’re not going to be adding an option to make it happen as it will break basic functionality that we really like.

    If you’re saying you don’t see the previous and next arrows on a gallery, please post a link to a page where we can see it happening.

    Hi,

    If they’re single images,

    I am not sure that an image could be anything but single. Do you mean the only image on a page?

    we’re not going to be adding an option to make it happen

    Make what happen? And how could you possibly add any code that would produce Prev and Next links with a single image?

    If you’re saying you don’t see the previous and next arrows on a gallery

    What do you define as a gallery?

    In my case I have 8 thumbnail images side by side on a page that link to their respective full size images.

    If I use most Lightbox plugins, they will recognize that there are multiple images on the page and show them one after another using Prev and Next links.

    I cant link publicly without permission from my client.

    Again I ask – Is there ANYTHING we can do or setup so this would work?

    Plugin Author Ozzy Rodriguez

    (@ozzyr)

    By single images, I mean images that are not in a gallery.

    An example of a gallery would be images in a gallery Gutenberg block. WP Featherlight isn’t going to handle images like a gallery just because they’re next to each other.

    If another lightbox plugin does works the way you’d like, I’d use that one for this project. WP Featherlight isn’t the best plugin for all use cases, and it seems like this may be one of them.

    It could be that others who have this same issue have the same situation as I do.

    I could easily add html or css selectors to enclose my images in any way needed. But without you defining what you consider a Gallery from an html or css point of view, I dont know what to add.

    A bunch of thumbnails side by side is what a gallery is.

    Plugin Author Ozzy Rodriguez

    (@ozzyr)

    I didn’t know you were looking for the HTML for it. If you wrap your images in a div or something with a class of gallery, it should find them.

    Here is the spot in the code where it’s looking for it: https://github.com/cipherdevgroup/wp-featherlight/blob/develop/assets/plugin/js/wpFeatherlight.js#L62

    Thanks for clarifying.

    I will give that a try.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.