• Resolved jmatthewgore

    (@jmatthewgore)


    After updating the plugin this morning, the lightbox functionality is broken (I have only been using it for a few weeks). Some images won’t load at all when the lightbox comes up; with others it will display the smaller image from the page. In other cases it will load the first image in a gallery, but will get stuck and will not be able to advance to the next image.

    If I click on an image in a Meow Gallery, it will usually load correctly. However, if I click on any other image on my page next, it will re-open the lightbox with the previously viewed Meow Gallery image.

    I’ve cleared my site cache, my browser caches, the plugin’s exif cache, and tested with Chrome, Firefox and MS Edge.

    The title text is a nearly invisible grey (or else the image title is coming up behind the modal box, and I’m just seeing it through the transparency? I haven’t checked that yet).

    I don’t know why I upgraded… the previous version was working perfectly for me, and I didn’t keep a backup of the plugin files. Can I get a copy of the previous version?

    – Matthew

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter jmatthewgore

    (@jmatthewgore)

    OK, I downloaded an older version from the cached WordPress download page, here: https://webcache.googleusercontent.com/search?q=cache:z5p_h-LFuZEJ:https://wordpress.org/plugins/meow-lightbox/+&cd=1&hl=en&ct=clnk&gl=us

    I’ll be more careful before upgrading next time.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Normally it should work fine, apparently, the upgrade was smooth for everyone. However, we would like to make it work for you, this new version is much better.

    You can keep the old one, rename its directory (meow-lightbox-old) and download the new one, and try it again (after disabling the old one). Then you can switch between the two easily.

    What I would suggest doing first is to click on the Reset Cache at the top of the Settings page, with the new plugin. That indeed can fix a lot of things. Then, let’s look in the other issues if they are still there πŸ™‚

    Thread Starter jmatthewgore

    (@jmatthewgore)

    Hi Jordy,

    Thanks for the quick reply. I’m generally of the “if it’s not broken, don’t fix it” school, and it’s probably not worth our time to troubleshoot what the problem is with the new version and my site. I’ll probably just stick with the old version.

    However, since I’m procrastinating some other tedious work at the moment, I’ll give it one more shot.

    I now have both plugin versions installed, but only the new one active. I’ve cleared all of my site caches, browser caches, and the plugin cache, Again.

    But I’m still experiencing all of the same problems, at least on Chrome and Firefox.

    Perhaps it’s because I’m using WebP Express? I’ll check that first… though, as I say, it was working just fine with the older version.

    Thread Starter jmatthewgore

    (@jmatthewgore)

    No… I forgot that I had disabled WebP Express when I was trouble-shooting earlier in the day.

    Looking for other obvious candidates now.

    Thread Starter jmatthewgore

    (@jmatthewgore)

    I use WP-Rocket as my optimizer/caching program. I’ve disabled that, just to make testing simpler, but still no luck.

    Hello jmatthewgore,

    I’m very confused that you had such a bad experience with the new version, we will try to fix any remaining bugs from the update.

    In the meantime, you will be able to find the previous version if on the plugin page you click on the “Advanced View” link on the right of the page, and then select the correct version ( https://kinsta.com/knowledgebase/download-older-versions-of-wordpress-plugins/ ).

    Best regards,
    Thomas

    Thread Starter jmatthewgore

    (@jmatthewgore)

    Hi Thomas,

    No problem; I’m happy that the previous version is working perfectly for me. Since my website is live, I probably won’t leave the new version of the plugin active for very long… maybe another few hours… so if you’d like to take a look at my site and see if the problems are anything that are not peculiar to my site, this is probably a good time to do it.

    Thanks, and good luck.

    Matthew

    Hello Matthew,

    So let me recap your current issues :

    – Strange behavior where the lightbox reopens previously openned images.
    – The title is nearly invisible.

    For the first one, could you please give me a detailed list of actions to do in order to reproduce the bug ? As I haven’t been able to figure it out yet.

    For the second one, it seems your theme is overwritting the color, in the previous version I had the same issue and I was forcing my color ( white ) on top of everything else, I forgot to move this to the new version. It will be fixed soon.

    Best regards,
    Thomas

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @jmatthewgore,

    I have been on your website and clicked on the photos. The right photo showed-up in the lightbox, along with the EXIF information. I used Google Chrome for my tests.

    I confirm two issues.

    1. The big one first. The lightbox indeed seems to load the latest photo sometimes. It does that when a photo with no EXIF information is displayed (or actually, no information at all, not sure why). But when we click on a photo with information, it displays it fine. If you click on the first photos of the article and the last ones, it works. The problem shows up on all the photos at the center of the article.

    2. The title is indeed black, it is using <h2> and therefore, it uses the color that your theme set for it (the Lightbox was made like so it reuses the colors set by your theme if possible). Of course, that can be also overridden easily. It’s not really a technical bug, but I am not so sure how we can handle this better.

    I am just taking these notes here and I will let @kywyz look at this, as he is taking care of the UI of the lightbox πŸ™‚ I am pretty sure we will find what’s going on.

    Thread Starter jmatthewgore

    (@jmatthewgore)

    Thomas,

    First, let me say that I’m viewing my site on a 4K monitor, with the browsers maximized. I’m not sure it matters, yet, but I don’t know what breakpoints you’re seeing. Anyway…

    The first image in the body of the article in the link posted above is a square image of a dog in front of a green wall, next to a window. If I click on that image, in any browser, an image comes up in the lightbox… but it’s not the right size. It’s the same image from the text, a “Large” size image. There’s no metadata, no title, and it’s too small.

    Here’s what it looks like on the page:

    https://www.lightandmatter.org/wp-content/download/chrome-example-1a.jpg

    And here’s what it looks like when I click on it and the lightbox comes up:

    https://www.lightandmatter.org/wp-content/download/chrome-example-1b.jpg

    That’s the main problem.

    The second major problem is when using the carousel feature of the lightbox. If I click a photo in the first gallery which has only two images in it, it will correctly load the correct image and its metadata, and it will forward to the next image, but then when it reaches the end of the gallery, and I try to forward again, it doesn’t cycle back to the first image (or move on to other images in from the page). Instead, it loads the first image in the gallery again, but without the metadata and title, and from there, I usually can’t use the controls to move forward or backward at all.

    I’m not too concerned about the <h2> color… I can fix that… I just don’t know why that should change between version of the plugin.

    Let me know if these issues need any further clarification.

    – Matthew

    Hello Matthew,

    Thank you for your detailed answer, I will have a look now.

    Two things already though, I’m planning on redoing the Carousel layout for a cleaner one, which would be more compatible with the lightbox.

    For the h2 thing, the whole CSS has been rewritten from scratch, and the “!important” rule got forgotten. My bad.

    I will come back at you after I have a better look at your website.

    Best regards,
    Thomas

    Thread Starter jmatthewgore

    (@jmatthewgore)

    As long as I’m posting this stuff, here’s what that same photo looks like in the OLDER version of the plugin:

    https://www.lightandmatter.org/wp-content/download/chrome-example-1c.jpg

    (It could use some styling, but it’s still awesome. Great plugin.)

    – Matthew

    Thread Starter jmatthewgore

    (@jmatthewgore)

    If you were just looking at the site, I’m sorry… I enabled and then disabled the old plugin briefly. Hope it didn’t cause too much confusion.

    I’m going to go get some dinner, but afterward I’ll probably be returning to the old plugin… so maybe two hours from now. Thanks for taking the time to look into this.

    – Matthew

    Hello Matthew,

    I think I found out why it wasn’t working properly. I’m waiting for Jordy to finish some things he has to do and we will push the fix.

    However, if you can test on your website directly to make sure it’s the correct fix it would be great, to do so, I would need you to edit the file js/mwl-core.js, and insert before the line 185 the following code :

    $('.mwl-fullpage-container .image-container img').removeAttr('srcset');
    $('.mwl-fullpage-container .image-container img').removeAttr('sizes');

    You should get something like :

    ...
    $('.mwl-fullpage-container .image-container img').attr('src', image.img_src);
    $('.mwl-fullpage-container .image-container img').removeAttr('srcset');
    $('.mwl-fullpage-container .image-container img').removeAttr('sizes');
    if(image.img_srcset) {
    ...

    Best regards,
    Thomas

    • This reply was modified 5 years, 2 months ago by Thomas.
    • This reply was modified 5 years, 2 months ago by Thomas.
    • This reply was modified 5 years, 2 months ago by Thomas.
    Plugin Author Jordy Meow

    (@tigroumeow)

    We pushed a new version @jmatthewgore, can you try it? It might resolve a few issues… hopefully, all of them! πŸ™‚

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Where can I get the previous version?’ is closed to new replies.