Adaptive images don’t work
-
Hello everyone, thanks to PageSpeed insights I have seen what could be a malfunction in the load of adaptive images.
I have seen that although there are several sizes for the featured image, the image is always loaded with the maximum size of 980w. Same behavior in mobile view as in computer view.
Inspecting the code I see this HTML code:
<img width="980" height="490" src="https://dominio.com/wp-content/uploads/img-prueba-9.png" class="attachment-full size-full wp-post-image" alt="" loading="lazy" itemprop="image" srcset="https://dominio.com/wp-content/uploads/img-prueba-9.png 980w, https://dominio.com/wp-content/uploads/img-prueba-9-400x200.png 400w, https://dominio.com/wp-content/uploads/img-prueba-9-768x384.png 768w" sizes="(max-width: 980px) 100vw, 980px">
shouldn’t a smaller image size be loaded?
- The topic ‘Adaptive images don’t work’ is closed to new replies.