Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Nikodemsky,

    Sorry I didn’t see this earlier. Our plugin does support WordPress native galleries, as well as Jetpack galleries.

    This video will walk you through the whole process of setting up WP Featherlight to work with galleries: https://www.youtube.com/watch?v=UIZLxVO1bzo

    Follow up on this thread if you run into any issues! Thanks.

    Thread Starter Nikodemsky

    (@nikodemsky)

    Thing is I don’t want to use it with wordpress native gallery, but with other plugin, it works but it does not grouping images, that’s why i wanted to know how to call gallery option on page. Is this even possible?

    The only galleries we currently support are WordPress galleries. Every gallery plugin handles images a little bit differently, so we don’t want to support too many plugins, as that could potentially add unnecessary bloat to our plugin. What you want to accomplish is possible, but would require a customization of our plugin.

    Essentially what you would need to do is find the HTML markup that the gallery is using, and adjust the JavaScript of our plugin to search for the image markup of that gallery, and tell it to trigger when it finds that particular markup. Hope that helps. Good luck.

    Thread Starter Nikodemsky

    (@nikodemsky)

    @electricfeet – thank you, i’ll check it soon.

    @electricfeet thanks for your work around saved a lot of time, it would be great to have as a tick box within the WP Featherlight Options on Pages/Posts.

    In wp-featherlight\js\wpFeatherlight.pkgd.min.js, make the following changes:

    1) change ".gallery-item a" to "a[data-featherlight='image']" (so that all anchors that have been picked up by Featherlight are now picked up by WP Featherlight)
    2) change ".gallery, .tiled-gallery" to ".entry-content" (so that the "gallery" is now the whole of the content of the post/page).
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image grouping?’ is closed to new replies.