I've been investigating an issue with the full-width hero images on my Wordpress site that appear blurry on certain mobile devices, particularly at smaller sizes. The images in question are 1920 x 1080 pixels.
When viewing the images between a width of 1920px to 1024px, they appear sharp and unchanged. However, upon using Firefox's Responsive Design Mode, I noticed that as the image size decreases, it progressively becomes blurrier or pixelated.
If the browser window is reduced to 1023px or less, there is some blurriness present. Adjusting the DPR setting to 2 restores the original quality. When the window shrinks to 512px or less, the blurriness intensifies, but changing the DPR to 3 brings back the high-quality appearance.
This situation has left me puzzled. While I know the images are not Retina-optimized, it seems counterintuitive that smaller sizes would be more affected by blurriness compared to larger ones. You would expect that images displayed at 512px would have a higher DPI, especially considering the source image is less than double the 1920px resolution.
I am seeking assistance in resolving this issue as I have struggled for several days with testing and debugging. Any insights would be greatly appreciated.