cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

currentSrc not working in Firefox Developer Edition dev tools

AndrewTrecha
Making moves

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?

1 REPLY 1

joenoe
Making moves

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.