Responsive images: get srcset and sizes right for your layout
Build responsive image variants using real slot widths, pixel density, and browser-selected sources. Includes a complete HTML card example.
For the people building a faster web. Practical guides to lighter images, better delivery, and the audits that point you in the right direction.
Build responsive delivery and stable layouts in real website components.
Build responsive image variants using real slot widths, pixel density, and browser-selected sources. Includes a complete HTML card example.
Diagnose oversized Next.js Image downloads by matching sizes to grid columns, inspecting generated srcset, and separating source assets from delivery variants.
Reserve image space with correct width, height, and aspect ratio. Fix shifting cards and article images without relying on smaller files alone.
Diagnose late CSS hero backgrounds, choose markup or a matching preload, and keep mobile candidates from downloading unnecessarily.
Identify the image a browser actually downloaded, compare its slot and selected source, and capture a useful image audit without guessing from filenames.
Prepare smaller media files locally, preserve originals, and check the theme’s responsive image output before replacing assets in WordPress.