{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-responsive-images-ce1c1e725d1a","title":"Implement Responsive Images with srcset","summary":"Ensure images use srcset and sizes attributes to deliver optimized versions based on device capabilities, reducing bandwidth usage and improving performance.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-responsive-images-ce1c1e725d1a","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-responsive-images-ce1c1e725d1a","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-responsive-images-ce1c1e725d1a.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-responsive-images-ce1c1e725d1a\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Verify that images use both srcset and sizes attributes. Check that the srcset includes multiple image sizes and that the sizes attribute accurately reflects the layout context to ensure the browser selects the optimal image.","instructions":"---\nname: responsive-images\ndescription: \"Use when reviewing article images, cards, galleries, or any component rendered at multiple sizes across breakpoints. Check both the markup and the CSS layout because an incorrect `sizes` attribute can negate a perfectly good `srcset`.\"\nmetadata:\n  category: images\n  priority: high\n  difficulty: intermediate\n  estimatedTime: \"20\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/images\/responsive-images\n---\n\n# Implement responsive images with srcset\n\nServing a 2000px image to a 400px phone screen wastes bandwidth and slows loading\u2014srcset lets the browser download only the size it needs.\n\n## Quick Reference\n\n- Use srcset to provide multiple image sizes\n- Use sizes attribute to tell browser which size to download\n- Browser selects optimal size based on viewport and DPR\n- Can save 50-70% bandwidth on mobile devices\n\n## Check\n\nVerify that images use srcset and sizes attributes for responsive delivery.\n\n## Fix\n\nImplement responsive images with srcset for different screen sizes and resolutions.\n\n## Explain\n\nExplain how responsive images deliver optimized versions based on device capabilities.\n\n## Code Review\n\nInspect image markup and component abstractions for `srcset`, `sizes`, and width\/height handling. Flag pages that always ship desktop-sized assets to mobile, omit `sizes`, or generate variants that do not match the actual rendered layout.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/images\/responsive-images\n","use_cases":["Review article images, cards, or galleries for responsive delivery.","Ensure images adapt to different screen sizes and resolutions."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/responsive-images\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T05:24:25.000000Z","updated_at":"2026-11-24T07:12:05.000000Z","seo_title":"Implement responsive images with srcset","seo_description":"Optimize image delivery with srcset and sizes attributes for responsive design. Improve performance and bandwidth usage by serving appropriate image sizes based on device","seo_keywords":["responsive images","srcset implementation","image optimization","mobile image delivery"]}}