Key points
- Inspect the actual file rather than inferring savings from a smaller display.
- Candidate dimensions and display-slot hints must agree with the files and layout.
- Include pixel density and clarity in acceptance instead of always demanding the smallest file.
Why does a smaller display not mean a smaller file?
An image appearing smaller on a phone does not prove that the browser obtained a smaller file. Ask the maintainer to inspect the actual image URL and transfer rather than judging appearance alone. This article covers selection among image candidates, not compression or alternative-text writing.
MDN describes srcset for supplying candidate images and sizes for giving display-slot hints that help the browser choose. This is different from shrinking one source image with CSS. MDN responsive images guide
Which asset details should you collect first?
Choose a representative image and record its location, current source URL, pixel dimensions and file size. Confirm that genuinely different size candidates exist. Renaming one large file several times does not produce different resolutions.
Candidates should correspond to the same content. If the subject or crop deliberately changes, record that as an art-direction requirement rather than confusing it with resolution selection. An asset map is more useful than simply reporting “the mobile image is too big”.

What do srcset and sizes tell the browser?
With width descriptors, srcset lists candidates and their intrinsic widths, while sizes describes the display slot under different conditions. Values must match the files and layout; sizes does not directly set the layout width. MDN resolution switching
An article column and a full-width banner occupy different space. Do not copy one hint set to both without checking it. Have the maintainer document the assumptions for each page type and compare them with actual desktop and mobile layouts.
Is a larger candidate on a phone necessarily wrong?
No. Conditions such as pixel density affect selection; viewport width alone does not decide it. MDN also distinguishes resolution switching from art direction, where the composition changes. Responsive image selection
Ask which file was chosen and whether it suits that display situation rather than assuming the smallest file is always best. Balance clarity and data transfer instead of making pictures blurry to improve a number. No measured saving percentage is claimed here.
How do you verify more than the presence of srcset?
For agreed devices and viewports, record the chosen image URL, file size, displayed dimensions and subject clarity. Check that candidate URLs work and page types do not reference the wrong asset. Record the test method, loading state and environment so differences can be reproduced.
One checked image does not establish whole-site optimisation. Confirm the method on representative pages before expanding the scope. Bring the asset map and observations to a discussion about HKONE website services if needed, without assuming a fixed speed or ranking improvement.
Frequently asked questions
Does shrinking an image with CSS mean a smaller download?
They are different things. Check the actual source file obtained rather than judging its on-screen size.
Can the srcset width values be arbitrary?
No. Width descriptors should match the image’s intrinsic pixel width. MDN guidance
Does sizes directly set the CSS width?
No. It provides display-slot hints for candidate selection and must agree with the actual layout. MDN guide
Must a phone always choose the smallest file?
No. Pixel density and other conditions also matter. Check clarity alongside the actual transfer. Source guidance
Can one passing image establish whole-site completion?
No. Different templates and image positions may use different settings. Report only the scope actually checked.
