Incorrect value for “sizes” in lazy load
-
This site uses JS WEBP, if this makes any difference.
In the section About the Author, the image of the author is embedded like this:
<img class="alignleft wp-image-13401" src="https://www.ronitbaras.com/wp-content/uploads/2015/10/ronit-baras-269x350.png" alt="Ronit Baras" width="230" height="300">
When lazy load is off, this creates an IMG tag with
sizes="(max-width: 230px) 100vw, 230px"
. You can see this on https://www.ronitbaras.com/books/printed-books/reflections/.When lazy load is on, we get instead
sizes="495px"
and the image is displayed too large.Looks like a bug.
The page I need help with: [log in to see the link]
- The topic ‘Incorrect value for “sizes” in lazy load’ is closed to new replies.