adipl
Forum Replies Created
-
Forum: Plugins
In reply to: [Meow Lightbox] The plugin stopped working as of version 5.3.5Thank you very much for your reply.
As you’ve noticed, the problem has been ongoing (although it previously manifested as JavaScript errors in the console) since the version following 5.3.5. Newer versions didn’t work, so I downgraded. And I checked the newer versions a few times.
The suggested solution didn’t work (but that’s my fault—I didn’t check the problem thoroughly).
The original (biggest) problem was that the left-right navigation was missing. The enlarged image is displayed. No JS errors in the console.
The secondary issue (which led me to believe that the lightbox had stopped working entirely and wasn’t displaying the image) was caused by our mistake. Our site integrates content from many other sites (with the authors’ permission). And someone posted a gallery with links (full gallery HTML code) to an external site. And it works on version 5.3.5. But in the newer version, only 2 out of several photos were clickable. It was as if the plugin was checking for
data-mwl-img-id=“XXX”(was it checking local files??).Set “Include Orphans Enabled” not help. Only 2 of the several images are clickable (the cursor changes when you hover over them).
<div id="gallery-1" class="gallery galleryid-151330 gallery-columns-3 gallery-size-thumbnail">
<dl class="gallery-item">
<dt class="gallery-icon landscape"> <a
href="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021.jpg"><img
fetchpriority="high" decoding="async" width="310" height="205"
src="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021-310x205.jpg"
class="attachment-thumbnail size-thumbnail" alt=""
srcset="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021-310x205.jpg 310w, https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021-1024x682.jpg 1024w"
sizes="(max-width: 310px) 100vw, 310px"></a></dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon landscape"> <a
href="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020.jpg"><img
decoding="async" width="310" height="205"
src="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020-310x205.jpg"
class="attachment-thumbnail size-thumbnail" alt=""
srcset="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020-310x205.jpg 310w, https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020-1024x682.jpg 1024w"
sizes="(max-width: 310px) 100vw, 310px"></a></dt>
</dl>
</div>selector: .entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image
anti selector: .blog, .archive, .emoji, .attachment-post-image, .no-lightbox- This reply was modified 1 month, 3 weeks ago by adipl.
Forum: Plugins
In reply to: [Meow Lightbox] Unnecessary database queries: about layout imagesThanks for answer. I found solution – in settings, Lightbox -> performance, I unchecked the option “Output Buffering Enable”. And now plugin not make query about layouts images. And page load faster.
I’m sorry for the trouble
Forum: Plugins
In reply to: [Meow Lightbox] Unnecessary database queries: about layout imagesThanks for your answer and new version.
It seems to me that after changing to 5.1.1 it works even worse.
WP 6.1.1 with Classic EditorOn the home page (I’m logged into the WP panel, the cache plugin is disabled). Query monitor results:
Plugin: meow-lightbox 40 select query 1 show, time: 0.198s
all queries (on page) /total: 67 select 1 show total time 0.2039Caller: Meow_MWL_Core->resolve_image_id() 20 select 1 show 0.1972 time
var mwl_settings = {“plugin_url”:”http:\/\/mydomain.test\/wp-content\/plugins\/meow-lightbox\/classes\/”,”settings”: {“backdrop_opacity”:85,”theme”:”dark”,”orientation”:”auto”,
“selector”:”.entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image”,“deep_linking”:false,”social_sharing”:false,”separate_galleries”:false, “animation_toggle”:”none”,”animation_speed”:”normal”, “low_res_placeholder”:false,”wordpress_big_image”:false,
“right_click_protection”:true,”magnification”:true,
“anti_selector”:”.blog, .archive, .emoji, .attachment-post-image, .no-lightbox”,”preloading”:false,”download_link”:false, “caption_source”:”caption”,”caption_ellipsis”:true,”exif”:{“title”:””,”caption”:”1″,”camera”:””,”date”:false,
“date_timezone”:false,”lens”:””,”shutter_speed”:””,
“aperture”:””,”focal_length”:””,”iso”:”” ,”keywords”:false},”slideshow”:{“enabled”:false,”timer”:3000},”map”:{“enabled”:false}}};On my homepage I don’t have (in generated soucecode) any classes from “.entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image”
And your plugin make select for 40 images from static layout or posts. Why your plugin try images when they are not in one of Selector?Maybe, to all the images on the page I should add a class with one of the anti-selector?
In functions.php i have:wp_deregister_script(‘heartbeat’);
wp_dequeue_style(‘wp-block-library’);
wp_dequeue_style(‘wp-block-library-theme’);
wp_dequeue_style(‘global-styles’);
remove_action(‘wp_head’, ‘feed_links_extra’, 3);
remove_action(‘wp_head’, ‘feed_links’, 2);
remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7);
remove_action(‘admin_print_scripts’, ‘print_emoji_detection_script’);
remove_action(‘wp_print_styles’, ‘print_emoji_styles’);
remove_action(‘admin_print_styles’, ‘print_emoji_styles’);
remove_filter(‘the_content_feed’, ‘wp_staticize_emoji’);
remove_filter(‘comment_text_rss’, ‘wp_staticize_emoji’);
remove_filter(‘wp_mail’, ‘wp_staticize_emoji_for_email’);
add_filter(‘tiny_mce_plugins’, ‘disable_emojis_tinymce’);- This reply was modified 2 years, 4 months ago by adipl.
Thanks 🙂
Thank you very much for your reply.