Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    I’m sorry, but I can’t see what causes this. By looking to the HTML source It seems the event handler by Photoswipe was registered correctly:

    <a href="https://www.li-an.fr/wp-content/uploads/2022/03/empire-marketing-board-poster-by-keith-henderson.jpg" data-lbwps-width="986" data-lbwps-height="654" data-lbwps-handler="1">

    However it won’t work clicking an image. But the images which don’t open when clicking them, are even part of the collection and will show in the lightbox when swiping through it.

    Maybe there is a problem in combination with the integrated lightbox of Meow Gallery. But to find out what is going on I’d need to debug this on your server. Just by looking on your site I have no chance to fix anything. If you get in touch with me via e-mail (see my https://arnowelzel.de/en/about-me) I can give you a debug version which outputs more details in the developer console to identify the cause of this.

    Thread Starter Li-An

    (@li-an)

    Thanks a lot for your quick answer. I don’t think there is any Lightbox with Meow Gallery as it’s a separate plugin (Meow Lightbox). I will ask Meow developer and contact you after an eventual answer.

    Were you able to figure this out? I’m in a similar situation.

    Plugin Author Arno Welzel

    (@awelzel)

    I eventually was able to set up a test version where I can reproduce this problem (also see https://github.com/arnowelzel/lightbox-photoswipe/issues/87).

    I’ll see what I can do to fix this.

    Plugin Author Arno Welzel

    (@awelzel)

    Ok, I found the cause of this problem:

    Meow gallery seems to update the image links after Lightbox with Photoswipe already added the click handlers after the page was loaded in the browser. However, the updated links don’t not contain any of the click handlers added by Lightbox with Photoswipe any longer.

    My plugin can handle document updates – but it only expects additional content to be added to the document, which is done by some galleries to do lazy loading or to offer a “view more” button inside a page to reveal more images in a gallery.

    To fix this I will have to refactor the frontend code a bit, but it can be fixed.

    Thread Starter Li-An

    (@li-an)

    Thanks a lot for your effort to fix this. I have no answer from Meow Team for the moment. If you need more information to help, tell me.

    Plugin Author Arno Welzel

    (@awelzel)

    Release 3.4.1 should fix the problems with Meow gallery.

    I completely rewrote the code to handle mouse clicks – now there is only one global handler which does not get removed by Meow and not one for each image link.

    • This reply was modified 2 years, 12 months ago by Arno Welzel.
    Thread Starter Li-An

    (@li-an)

    It works. Thanks a lot.

    Thread Starter Li-An

    (@li-an)

    Oops, kind a problem?: when I click on a random image, it’s the first one that is showing. Is it the awaited behavior??

    Plugin Author Arno Welzel

    (@awelzel)

    Unfortunately, I pushed an update without the final mininifed version of the frontend script. Please update to version 3.4.2 – otherwise clicking an image will always only open the first image in the gallery.

    Thread Starter Li-An

    (@li-an)

    OK ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘incompatibility with Meow Gallery’ is closed to new replies.