[NSFW] VPI problem manually
-
Hello, I am working on a project where a grid of images is reordered randomly (and it is important that it stays that way) so I am working on the lazy load VPI manually
Using the ‘litespeed_buffer_before’ filter I have managed to insert data-no-lazy=”1″ to the first 8 images of the grid, which would be enough on practically all devices or at least the vast majority
The thing is that Google keeps alerting me to a VPI problem. I am doing something wrong? Am I avoiding lazy loading correctly on these images? Did I choose the wrong filter?
The code for the images looks like this (from the home):
<img data-no-lazy="1" decoding="async" width="323" height="600" loading="lazy" src=...>
Google warning
Thank you
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[NSFW] VPI problem manually’ is closed to new replies.