5.5 lazy loading doesn’t work for me
-
I just updated to 5.5 and used a custom lazy loading script (blazy.js) before. I disabled it and want to check the new wordpress core lazy loading but it doesn’t work for any of my images. Does it need a special markup? I read the developer post about it but there wasn’t any new information for me.
It’s a bit of a special case for me because I use a shortcode to load my images and therefore custom code. But the rendered image looks like this in the frontend:<img src="url/my-pic.jpg" class="attachment-full" alt="my alt stuff" loading="lazy" srcset="url/my-pic.jpg 450w, url/my-pic.jpg 300w" sizes="(max-width: 450px) 85vw, 450px" width="450" height="320">
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘5.5 lazy loading doesn’t work for me’ is closed to new replies.