Image is preloaded with wrong resolution
-
Hello!
On my site I have a background image which I’m trying to preload. I used the button “find image to preload” to select the correct image. In the request waterfall of DebugBear (mobile selected) I can see that the image is indeed preloaded. It shows something like this:
IMG_ABCD-1536×885.jpgBut at the same time the LCP initiator is running and after it finishes, the same image is loading again but with a different resolution. It looks like this:
IMG_ABCD-768×442.jpgNow I figured, that I can select the preloaded size (1536×885) for my background image in Elementor. Then it works and the LCP initiator in the request waterfall vanishes and the preloaded image is used as expected.
The problem is: I don’t need that resolution for mobile and I intentionally reduced it to speed up the site. So why is the image preloaded with the wrong resolution when I select 768×442?
The other problem is: Even if I select 1536×885 px in Elementor, Google page speed insights still doesn’t preload the LCP image. Probably because it uses a different resolution then DebugBear for testing.
So the point is: A different resolution of the image is preloaded then what is needed later on. Maybe the plugin could make use of the attribute “imagesizes” to solve this?
Thanks,
Felix
You must be logged in to reply to this topic.