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



Written by: Jake Lett
Jake Lett is a results-driven B2B marketing consultant with 15+ years of experience helping businesses boost online visibility, generate qualified leads, and increase sales. Specializing in SEO, HubSpot, and PPC campaign management, Jake leverages proven strategies to deliver measurable growth. As a Certified Google Ads Specialist and HubSpot Developer, he is committed to driving impactful results for his clients.

Related posts

Tags: ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter