26-03-2024 01:46 PM
I have a WordPress site running locally via LocalWP and when testing to see a posts image currentSrc image using "Show DOM Properties" dialog, and it only ever displays the originally uploaded images.
Chrome and Firefox dev tools show the appropriate currentSrc based on viewport size.
Tested on Firefox Dev Edition v. 125.0b4
Is this a bug?
03-12-2025 03:01 AM
Just ran into the exact same thing yesterday. LocalWP’s built-in browser (Chromium-based) still shows the original full-size src in “Show DOM Properties” even when the rendered img has proper responsive currentSrc. Chrome/Firefox devtools show the correct sized version without issue. While debugging this I was also testing page speed impact of oversized images and followed my own SEO Copywriting That Converts checklist – properly served responsive images boosted LCP by ~420ms. Definitely feels like a small bug in LocalWP’s preview engine that should respect srcset/currentSrc the same way real browsers do.