Deliver responsive article images for mobile and desktop

HaivisUpdated

Measure the content slot at the site's breakpoints and export proportional candidates from the same approved image. Hand off the files and matching srcset and sizes markup for the developer to verify.

Size for the real column

For a 1536-pixel original capped at 1440, one practical set is 480, 960 and 1440 pixels wide. A 700-pixel source can supply 480 and 700. Enlarging it adds pixels without recovering detail. Choose the set for the layout and display density.

Tell the browser how to choose

Put a reachable fallback in img src. In srcset pair each URL with its real width, for example room-480.webp 480w and room-960.webp 960w. Make sizes match the width of the image in the site's CSS. If a mobile layout uses a different composition, ensure that both pictures explain the same point. Responsive image syntax

Starting materials

Get the approved source, content column width, mobile layout and the image's purpose within the article.

Example prompt

Preserve the window, chair and doorway in all versions. Deliver small, medium and large resizes for the same placement and keep an alternate composition separate.

What to check

Open each named candidate and verify its dimensions and aspect ratio. Inspect the requested file at different viewport widths and pixel densities on the actual page.

Text to Image
Three real exports of the reading-corner proposal labeled by their pixel dimensions
The three images preserve the source proportions. Their pixel widths and actual byte counts provide a delivery check.

Reference images used in this example

Continue exploring

Related design articles

Design blog