Lazy Load Media conflict with WordPress 6.4 lightbox

Hello,

I don’t know if you are aware of this, but there seems to be a conflict between the Lazy Load Media and the new WordPress 6.4 lightbox feature.

Precisely, when the Lazy Load Media setting is switched on, clicking on an image to expand it will not load the image. Instead, only the ALT tag will be shown (if any is set on the image).

I replicated this both on my local and on my SiteGround-hosted sites with different themes. The lightbox features always works perfectly when the Lazy Load Media in the SiteGround Optimizer plugin is turned off.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer