Key points
- Export images to suit their use as thumbnails, covers or banners, and keep the originals.
- Make responsive-image width descriptions match the actual files.
- Use alt text for meaning and accessibility, not keyword stuffing.
Should you resize first or change the file format?
First establish where the image will appear, then choose dimensions and format. A product thumbnail, article cover and full-width banner have different needs; simply changing a filename extension is not a solution. Record the original dimensions, exported dimensions, file size and intended position. Keep the original as the source for later exports. Repeatedly compressing the only original makes it harder to recover missing detail when a different layout or display requirement emerges.
How do you judge the compressed result?
Export several candidates from the same original and compare text edges, product texture and important details at the intended display size. Choose a smaller version that still serves its purpose rather than automatically choosing the highest quality setting. Google’s image workflow guidance recommends matching encoding to the content and inspecting blur or compression artefacts. Choose the file size and format for the job the image needs to do.
How do responsive images help different screens?
A developer can offer differently sized candidates through srcset and describe the rendered width through sizes. MDN documents how these attributes work. If a file is actually 1,536 pixels wide, do not label it 1600w: the descriptor must reflect the file. Check which file the phone actually downloads rather than merely observing how small CSS makes it appear.

Should every image be lazy-loaded?
No. Google’s guidance recommends lazy loading off-screen images while avoiding it for images visible immediately, especially a likely Largest Contentful Paint image. Ask your developer to distinguish the cover from later illustrations and reserve appropriate space. Test initial opening separately from scrolling, watching for blank areas, sudden movement or images appearing too late.
What should alt text actually describe?
Decide what the image does first. For an informative image, briefly describe the meaning relevant to the page. A purely decorative image can use empty alt text. When an image acts as a link or button, communicate its function. Provide the full information from complex charts elsewhere on the page. These distinctions follow W3C’s decision tree; they do not require a lengthy description for every image.
What does a practical product description look like?
Imagine a page comparing two lid mechanisms, with a flip-top lid on the left and a screw-top lid on the right. A useful description could be “Flip-top lid on the left beside a screw-top lid on the right”. Do not add “most durable” when the photograph provides no such evidence, or repeat a list of locations and product keywords. Google recommends useful contextual alt text and warns against keyword stuffing. This is a writing example, not a product test.
What should your acceptance checklist include?
For each important image, record its purpose, source, actual dimensions, file size, alt text and test page. Ask a colleague to inspect mobile and desktop layouts for cropped content, unclear details and nearby text that becomes difficult to read. Slow pages may also involve scripts, fonts or server behaviour. Retest the whole page after an image change rather than attributing every delay to photography. Keep before-and-after settings so another person can reproduce the export and investigate a regression.
Frequently asked questions
Must all images be below the same file size?
No. Decide according to purpose, clarity and whole-page testing, while keeping the originals.
Does making an image look smaller reduce its download size?
Not necessarily. Check the actual file served. Responsive images can provide different-sized candidates; see <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img">Official guidance</a>.
Can decorative images have no description?
They can use empty alt text when they genuinely convey no information or function. See <a href="https://www.w3.org/WAI/tutorials/images/decision-tree/">Official guidance</a>.
Does alt text guarantee Google rankings or AI recommendations?
No. It should accurately help people and systems understand the image, without a ranking or AI-citation guarantee.
Should the article cover be lazy-loaded too?
Generally avoid lazy loading when the cover is visible immediately, especially if it is the main content image, and test the result. See <a href="https://web.dev/articles/browser-level-image-lazy-loading">Official guidance</a>.
