A cover renders at 360 CSS pixels, yet the browser downloads a 1200-pixel file. Measure the display width and inspect what the browser selected before compressing the source image.
Compare the declared slot with the CSS width
With width descriptors, srcset lists the actual widths of candidate files. sizes tells the browser how wide the slot is expected to be. CSS sets the displayed width. The browser uses the slot size and the device’s pixel density when selecting a candidate.
Measure the selected file in Chrome
We made 480-, 800- and 1200-pixel WebP versions of an SEOWithJack cover for a local test. Each case used a fresh Chrome 157 profile, a 1000 CSS-pixel viewport and a 360 CSS-pixel image. The local server logged one successful 200 image GET per case, and each returned path matched the browser selection.
| Declared slot | Pixel ratio | Selected width | Image bytes |
|---|---|---|---|
360px | 1 | 480 px | 13,230 |
360px | 2 | 800 px | 25,990 |
100vw | 1 | 1200 px | 43,944 |
We also requested the public SEOWithJack beginner guide’s initial HTML on 19 November 2026. The main cover had a single source URL and no width-candidate list. The browser selections in the table come from the local pages.
Record width, density and the selected URL
In DevTools, choose a viewport and pixel ratio, disable cache, reload and select the image in Elements. Read the current source and the displayed width in the Console:
console.log({
url: $0.currentSrc,
cssWidth: $0.getBoundingClientRect().width,
dpr: devicePixelRatio
})
- Find the selected URL in Network. Check the response status and transferred size, since selection alone does not prove the file loaded.
- At the same viewport, compare the measured width with the matching slot value. In the test, declaring the full viewport told Chrome to plan for 1000 CSS pixels, even though the card still measured 360. Set
sizesto describe the layout at each relevant breakpoint. - Rerun with a fresh load at each target width and pixel ratio. If the chosen file is right but the image is slow to appear, use the LCP loading timeline guide.
Frequently asked questions
Which URL shows the file that was selected?
currentSrc reports the selected candidate. Check Network as well to confirm that its request succeeded.
Does sizes resize the displayed image?
No. It informs candidate selection. CSS controls display size.
Why can devices download different files at the same CSS width?
Pixel density can differ. In the local example, Chrome selected an 800-pixel file at twice the density for the same slot. Check available variants and bytes when doing your CDN image audit.

