What are the Best Image Size Dimensions for Responsive Web Design?


What are the Best Image Size Dimensions for Responsive Web Design?

When building image carousels, jumbotrons, or full background sections you will often need to properly size an image. Below are some recommendations based on the most common device screen sizes and if you are using parallax or fixed background images.

Desktop (1920×1080)

  • 2000px x 360px, 4000px x 720px (retina)
  • Parallax (images need to be as tall as the device height)
    2000px x 1000px, 4000px x 2000px (retina)

Mobile (428×926 iPhone 12 Pro Max)

  • 500px x 500px, 1000px x 1000px (retina)
  • Parallax (images need to be as tall as the device height)
    500px x 1000px, 1000px x 2000px (retina)
<picture>
<source srcset="https://dummyimage.com/1000x360/000/fff" media="(min-width: 769px)">
<img srcset="https://dummyimage.com/500x500/000/fff" alt="">
</picture>

<h2>Retina</h2>

<picture>
<source srcset="https://dummyimage.com/2000x720/000/fff" media="(min-width: 769px)">
<img srcset="https://dummyimage.com/1000x1000/000/fff" alt="">
</picture>

 

Codepen demo


About the Author

Jacob Lett is the founder of Bootstrap Creative, a digital marketing consultancy that helps Michigan manufacturers generate qualified leads through HubSpot, technical SEO, and Google Ads. With over a decade of hands-on experience, he acts as a direct partner for B2B companies seeking measurable ROI from their marketing investment.



Related posts

Tags: ,

| Read My Editorial Policy

Want to Get Email Updates of New Articles?

Join My Email Newsletter