Lazy load not catching all images?
-
Hi there,
I’ve been trying out the new lazy loading functionality, but it doesn’t seem to pick up all the images I have. At first I thought it was due to some custom blocks I’m working with, but on closer inspection it seems that it does include some of those, and some of the ones it’s excluding are in a core block.
(In the linked page, you can see a bunch of blocks I was testing with. The images that are apparently not being lazy-loaded are the second and third slider images, and those in the three-column block after Media & Image.)
Is there perhaps some class I can add to these to “hint” at Autoptimize that they should be lazy-loaded?
(EDIT: I also seem to have the “some images don’t load at all” problem that somebody else described earlier. In my case, it’s the header image (chosen in the standard theme customiser) and the images loaded remotely through the Instagram block.)
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Lazy load not catching all images?’ is closed to new replies.