eCommerce Strategy
January 16, 2026

Shopify Image Size Guide 2026: Best Dimensions for Banners, Products and Formats

Image for a Shopify image size guide showing a plaid shirt product photo within measurement boundaries, Shopify logo icon, and the title “Shopify Image Sizes 2026: Complete Guide,” branded by StarApps.

Shopify image sizes for 2026: banner, slideshow, product, logo, and blog dimensions, plus upload limits, the best formats, and fixes for mobile crops.

Key Takeaways

  • The best Shopify image size for square product photos is 2048 x 2048 px. Size other images at twice their widest on-screen width.
  • For full-width Shopify banners and heroes, upload about 3840 x 1600 px, the largest width Dawn's banner section requests.
  • Banners crop on phones because the theme sets their shape. Keep the subject in the central 45% and use focal points or mobile images.
  • Shopify accepts product images up to 5000 x 5000 px (25 megapixels) and theme images up to 20 megapixels. Files can't exceed 20 MB.
  • Shopify serves WebP or AVIF automatically to browsers that support them, so upload JPEGs for photos and PNGs for logos.
  • You don't need to compress images before upload. Shopify's CDN resizes them and picks the best format for each browser.
  • Give every featured product image the same aspect ratio, or collection grids will show cards at different heights.

Shopify recommends sizes for product photos and favicons, but leaves banners, slideshows, and logos up to each theme. This gap is the reason behind many blurry hero images, cropped mobile banners, and uneven collection grids.

This guide lists upload sizes for every common Shopify image. It then explains how themes request, crop, and serve those images, so you can size any section correctly, even one the table doesn't cover.

We checked every figure against the Shopify Help Center, Shopify's developer documentation, and the source code of Dawn and Horizon, Shopify's free reference themes. Where Shopify publishes a number, we say so. Where a number is our recommendation, we show how we got it.

What Size Should Shopify Images Be? (2026 Cheat Sheet)

Upload Shopify images at about twice the size they appear on screen, cropped to the aspect ratio of the section they sit in. Aspect ratio is an image's width compared with its height: 1:1 is square, 4:5 is portrait, and 16:9 is widescreen.

The table gives an upload size for each common Shopify image type. Shopify publishes only a few of these figures, so the Basis column shows whether each one comes from Shopify or from theme code.

Image type Upload size Aspect ratio Basis
Product image (square) 2048 x 2048 px 1:1 Shopify's recommended size for square product images
Product image (portrait) 2048 x 2560 px 4:5 Matches the Portrait card ratio in Dawn
Product image with close-up zoom Up to 4096 px on the long edge Same as your catalog Dawn's zoom view requests up to 4096 px
Collection image 2048 x 2048 px, or your product ratio 1:1 or 4:5 Same upload limits as product images
Full-width banner or hero (desktop) 3840 x 1600 px 2.4:1 Dawn's Image banner and Slideshow request up to 3840 px by default
Banner or hero (mobile version) 1600 x 2000 px 4:5 Horizon's Hero section requests mobile images up to 1600 px
Slideshow slide 3840 x 1600 px, same ratio on every slide 2.4:1 Same widths and heights as Dawn's banner
Image with text 1500 x 1500 px 1:1 or 4:5 Dawn requests this section's image at up to 1500 px
Blog featured image 2400 x 1350 px 16:9 Dawn displays it up to about 1100 px wide at the default page width
Logo 2x your theme's logo width setting (600 px wide for a 300 px setting) Any Dawn's logo width tops out at 300 px and requests a 2x copy
Favicon 32 x 32 px 1:1 Shopify reduces larger favicons to 32 x 32 px
Social sharing image 1200 x 630 px 1.91:1 Meta's link preview recommendation
Variant swatch image 200 x 200 px 1:1 Keeps a 44 to 48 px swatch sharp on 3x phone screens

Dawn and Horizon figures come from their source code as of October 2026. Other themes use different widths and heights, so check your theme's documentation before you export a whole catalogue.

You never need to upload separate thumbnails or mobile copies of product images. When you add an image, Shopify automatically creates smaller versions for each place your theme uses it.

Shopify Image Upload Limits: Maximum Size, Megapixels, and File Types

The maximum image size on Shopify is 5000 x 5000 px (25 megapixels) for product and collection images, and 20 megapixels for images uploaded to your theme or Files. Both kinds of uploads are capped at 20 MB.

Where you upload Maximum dimensions Maximum file size Source
Theme editor and Content > Files 20 megapixels 20 MB Uploading images
Product and collection media 5000 x 5000 px or 25 megapixels Under 20 MB Product media types

Megapixels are width x height divided by 1,000,000. A 5000 x 4500 px image is 22.5 megapixels, so Shopify accepts it as a product image but rejects it as a theme banner.

Shopify's error message can mislead you here. If Shopify says your file is too large and must be 20 MB or smaller, but the file is already under 20 MB, the problem is the megapixel count. Shopify's fix is to reduce the pixel dimensions, for example from 5000 x 5000 px to 4000 x 4000 px.

A few other platform rules shape how your images behave:

  • Theme image formats: JPEG, progressive JPEG, PNG, GIF, HEIC and WebP. TIFF and BMP are accepted but converted to JPEG or PNG on upload.
  • Product image formats: PNG, JPEG, TIFF, BMP, GIF, SVG, HEIC and WebP, including animated GIF and WebP.
  • Color profiles: Shopify removes embedded color profiles when it displays images, and browsers then assume sRGB. Export in sRGB so colors don't shift after upload.
  • Delivery ceiling: The image_url filter serves images up to 5760 px wide or tall and never enlarges an image beyond its original size.

How To Calculate The Right Shopify Image Size (The 2x Rule)

Educational infographic demonstrating Shopify’s 2× image sizing rule, showing how uploaded image dimensions should be twice the largest on-screen display size for sharper visual quality.

Upload every Shopify image at about twice the widest size it appears on screen. Most phones and many laptops draw two or more device pixels for every CSS pixel, so a 400 px product card needs an 800 px image to look sharp.

Three different sizes are in play every time a shopper loads a page:

  • Upload size: the original file you add to Shopify.
  • Display size: the space the theme gives the image, in CSS pixels.
  • Delivered size: the version Shopify's CDN actually sends. The theme lists several widths in a srcset, and the browser picks the smallest one that fills the space at that screen's density.

How to find the right upload width for any section

Your upload only needs to be big enough for the largest delivered size. These five steps give you that number:

  1. Open the page on the largest screen you design for, right-click the image and choose Inspect.
  2. Hover over the image URL. Chrome shows the rendered size (display size) and the intrinsic size (delivered size).
  3. Take the widest rendered width you see. Full-width sections are as wide as the browser window.
  4. Multiply by two. That is your minimum upload width.
  5. Set the height from the section's shape, not the photo's original shape.

Why bigger uploads don't look sharper

Going past 2x rarely helps, because themes cap what they request. Dawn's banner never asks the CDN for more than 3840 px, and its main product gallery stops at 1946 px. Pixels above the cap are stored but never delivered.

The same check tells you when the theme is the problem. Shopify CDN URLs include a width= value. If your file is 3000 px wide but the URL asks for width=1100 on a large screen, re-exporting won't fix the blur. The section's srcset or sizes setup needs a developer's attention.

How to crop and resize images in Shopify

You don't need design software for basic fixes. Shopify's media editor can crop an image freeform, to its original ratio, or to a square. It can also resize pixel dimensions with the aspect ratio locked, and you can revert an edited image to its original.

For exact ratios such as 4:5 or 2.4:1, crop in your image editor before upload. The media editor's crop presets are limited to Freeform, Original, and Square.

Shopify Banner And Hero Image Size

The best Shopify banner size for a full-width hero is 3840 x 1600 px (2.4:1) on desktop, plus a 1600 x 2000 px (4:5) mobile version if your theme supports one. Shopify doesn't publish an official banner size because each theme section sets the banner's shape and crops your image to fit.

Why Shopify banners crop on mobile

Shopify's Help Center explains the cause: slideshows, image banners, and full-width sections display images in an area whose shape comes from the section, not from your upload. When the two shapes differ, the section crops the image.

Dawn's Image banner shows how much that shape changes between devices. These are its minimum heights at default settings, from the theme's banner stylesheet:

Height setting Desktop height Shape on a 1440 px laptop Mobile height Shape on a 390 px phone
Small 420 px 3.4:1 280 px 1.4:1
Medium (default) 560 px 2.6:1 340 px 1.15:1
Large 720 px 2:1 390 px 1:1

The same banner is a wide strip on a laptop and close to a square on a phone. No single image fills both without cropping.

Here is what that means in practice. A 3840 x 1600 px banner (2.4:1) in a Medium section scales to 340 px tall and about 816 px wide on a 390 px phone. The phone shows only the middle 48% of the image's width. A 16:9 image shows about 65% on the same phone, but it loses about 31% of its height on the 1440 px laptop.

The practical rule: keep faces, products, and offers inside the central 45% of a banner's width, and leave the background at the edges.

How to stop Shopify banners from cropping on mobile

nfographic with concentric circles illustrating Shopify image display best practices, including setting focal points, adapting section height, separating text from images, and creating dedicated mobile images for responsive design.

Use one or more of these four fixes, starting with the quickest.

1. Set a focal point

A focal point marks the part of an image that must stay in frame when a section crops it. Click the image in Content > Files, the theme editor, or a product's Media section, then click the important area and save. Each image has one focal point, and it applies everywhere you use that image. Focal points work in Dawn 7.0.0 and later, every Horizon theme, and recent versions of Shopify's other free themes.

A focal point decides what survives the crop. It doesn't stop the crop.

2. Let the section adapt to the image

Many free Shopify themes have a Height option called Adapt to first image. It sizes the section to your image instead of cropping it. The trade-off shows on phones: a 2.4:1 banner on a 390 px screen becomes a strip about 160 px tall.

3. Keep text out of the image

Shopify advises against putting text inside slideshow and background images, because the theme moves and crops it with everything else. Add headings and buttons in the theme editor instead. Live text resizes for each screen, and search engines and screen readers can read it.

4. Use a separate mobile image

This is the cleanest fix: a wide image for desktop and a portrait image for phones, each composed for its own shape. Horizon's Hero section has a Show different media on mobile setting. It swaps to the mobile image below 750 px and requests it at up to 1600 px wide. Upload 1600 x 2000 px (4:5) for that slot.

Dawn's Image banner has no mobile image setting. Its second image slot sits beside the first on desktop and stacks on mobile. If your theme lacks a mobile option, a developer can add one with a picture element. Shopify's performance guidance prefers this over two banner sections toggled with CSS, because the browser then downloads only the image it shows.

Shopify slideshow image size

Size Shopify slideshow images like banners: 3840 x 1600 px, with every slide in the same aspect ratio. Dawn's Slideshow section uses the same image widths and height options as its Image banner. With Adapt to first image selected, the whole slideshow takes the first slide's shape, so any slide with a different ratio gets cropped.

What Size Should Shopify Product Images Be?

Shopify product images should be 2048 x 2048 px for square photos, which is Shopify's own recommendation, or 2048 x 2560 px for 4:5 portrait photos. Shopify's documentation also notes that images with mixed aspect ratios display at different sizes when they sit side by side on collection pages.

Use one aspect ratio across your catalog.

Most themes let you enforce a card shape. In Dawn, the product grid, featured collection, and collection list sections each have an Image ratio setting with three choices: Adapt to image, Portrait (4:5), and Square. Portrait and Square crop each photo to fill the card, keeping the center. Adapt to image shows photos uncropped, which is where uneven rows come from.

Square (2048 x 2048 px) suits most hard goods. Portrait (2048 x 2560 px) gives apparel, bottles, and other tall products more room in narrow mobile grids. Whichever you choose, shoot with space around the product so a crop never clips a collar, hem, or cap.

Product image size for zoom

Dawn's main product gallery requests images up to 1946 px wide, so 2048 px covers it. Its zoom view requests up to 4096 px. For jewelry, fabric, furniture finishes, and anything shoppers inspect closely, export up to 4096 px on the long edge. A 4096 x 4096 px image is about 16.8 megapixels, well inside the 25 megapixel product limit.

Keep variant images the same size and framing

Each color or style should use the same ratio, framing, and background as its siblings. When a shopper switches from navy to olive, the gallery shouldn't jump in height or zoom level. If your store shows every variant's photos at once, our guide to hiding variant images on Shopify product pages explains how to show only the relevant set.

Shopify collection image size

Collection images share the product image limits, and 2048 x 2048 px (or your product ratio) works for most stores. They appear on collection list cards and, in many themes, in the collection page header. In Dawn, the collection header shows the image beside the title at about half the page width, so 2048 px on the long side is plenty.

Shopify Logo, Favicon, Blog And Social Sharing Image Sizes

Infographic outlining recommended Shopify image sizes for logos, favicons, blog images, and social sharing images, including dimensions for transparent PNG logos, favicon icons, blog featured images, and social media previews, branded by StarApps.

Upload a Shopify logo at twice your theme's logo width, a 32 x 32 px favicon, a 2400 x 1350 px blog featured image, and a 1200 x 630 px social sharing image.

Shopify logo size

In Dawn, the logo width setting runs from 50 to 300 px, and the theme requests copies at 1x, 1.5x, and 2x that width. A logo set to 300 px therefore needs a file at least 600 px wide. Use a PNG with a transparent background, the format Shopify recommends for logos.

Shopify favicon size

Shopify's ideal favicon size is 16 x 16 or 32 x 32 px, and it reduces larger uploads to 32 x 32 px. Use a simple square mark, because fine detail disappears at that size.

Shopify blog image size

Dawn shows a blog post's featured image up to the page width minus 100 px, which is 1100 px at the default 1200 px page width. A 2400 x 1350 px (16:9) image covers that at 2x. If you raise the theme's page width setting, scale the image up to match.

Shopify social sharing image size

On product, collection, and blog post pages, Shopify uses the featured image as the link preview image. Other pages, and pages without a featured image, fall back to the social sharing image you set in Online Store > Preferences. Meta recommends link preview images of at least 1200 x 630 px, close to 1.91:1, so keep key content near the center of featured images that double as previews.

What Is The Best Image Format For Shopify?

Upload JPEG for photographs and PNG for logos, icons, and graphics that need transparency. Your upload format matters less than it used to, because Shopify delivers WebP or AVIF automatically to every browser that supports them.

Height setting Desktop height Shape on a 1440 px laptop Mobile height Shape on a 390 px phone
Small 420 px 3.4:1 280 px 1.4:1
Medium (default) 560 px 2.6:1 340 px 1.15:1
Large 720 px 2:1 390 px 1:1

Shopify's two help pages differ on product photos. The theme images page suggests JPEG, while the product media page ranks PNG first. Both work. Pick JPEG when file weight in your own workflow matters, and PNG when you need a transparent background.

Test SVG logos in your theme before you commit. Many themes request a resized version of the logo, and Shopify's CDN can't resize an SVG without converting it to a raster format.

For motion, a short product video usually beats a large GIF. Shopify accepts product videos up to 10 minutes, 1 GB, and 4K resolution in MP4, MOV, or WebM.

Should You Compress Images Before Uploading To Shopify?

In most cases, no. Shopify's Help Center states that images don't need manual compression before upload, and recommends uploading the best quality you have.

Here is why that works. Shopify stores your original without compressing it. When a shopper loads a page, the CDN creates a version sized to their screen, picks the best format their browser supports, and may compress it further. Shoppers receive the CDN's version, usually resized and re-encoded, so your original file's weight has little effect on what they download.

Heavy compression before upload means the image gets compressed twice. That can add blocky artifacts to gradients, skies, and skin tones, which show most on large banners.

Focus on dimensions instead of kilobytes:

  • Resize to the 2x upload size for each section, so you don't store pixels the theme never requests.
  • Stay under 20 megapixels for theme images and 25 megapixels for product media.
  • Export JPEGs at high quality in sRGB.

Pre-processing still makes sense in two cases: camera originals that exceed Shopify's limits, and large catalogs where you want every image cropped, padded, and named the same way before upload.

How Do Shopify Image Sizes Affect Page Speed And SEO?

Image size affects page speed mainly through the first large image a shopper sees. On many store pages, the hero banner or main product photo is the Largest Contentful Paint (LCP) element, so how the theme loads that one image has the biggest effect on LCP.

Shopify images and Core Web Vitals

Google's Core Web Vitals treat LCP within 2.5 seconds and Cumulative Layout Shift (CLS) of 0.1 or less as good, measured at the 75th percentile of page loads. Shopify's theme performance guidance covers the image settings that move those numbers:

  • Don't lazy-load the first image in view. Lazy loading the LCP image delays it. Load it eagerly and mark it with fetchpriority="high".
  • Use an img element for hero images, not a CSS background, so the browser finds it early.
  • Give every image width and height attributes to prevent layout shift. Shopify's image_tag filter adds them for you.
  • Skip fade-in animations on the hero. They can hold back LCP even after the image has downloaded.

If images look soft for a moment and then sharpen, that's expected. Shopify themes load a small version first and swap in the full one as it arrives.

Shopify image SEO basics

Google's image SEO guidelines add a few rules that sizing alone won't cover:

  • Google indexes images in img elements, not CSS background images.
  • Use short, descriptive file names, such as navy-linen-shirt-front.jpg instead of IMG_4821.jpg.
  • Write alt text that describes the image in context, without stuffing keywords.
  • Place images near the text they relate to.

Our Shopify image SEO guide goes deeper on file naming and theme loading. Our alt text best practices guide shows how to write descriptions that help both shoppers and search engines.

How To Fix Common Shopify Image Problems

Find your symptom in the first column, check the likely cause, then apply the fix.

Problem Likely cause Fix
Banner subject cut off on phones The section's shape on mobile differs from the image's ratio Set a focal point, switch to Adapt to first image, or add a separate mobile image
Image blurry on large screens Upload is narrower than 2x its display width, or the theme requests too small a version Re-export at 2x; if the CDN URL shows a small width= value, the theme needs fixing
Image blurry for a moment, then sharp The theme loads a small placeholder first Nothing to fix. Shopify describes this as expected behavior
"File too large" error on a file under 20 MB The image is over the megapixel limit Reduce pixel dimensions, for example 5000 x 5000 px to 4000 x 4000 px
Colors look different after upload Shopify removed an embedded color profile Export in sRGB before uploading
Collection grid rows are uneven Featured images use different aspect ratios Re-crop to one ratio, or set the grid's image ratio to Square or Portrait
New PNG loses transparency or new GIF won't animate You replaced a collection, blog, or gift card image with a different file type Remove the old image, save, refresh, then upload the new file (Shopify's steps)
Logo looks fuzzy The logo file is narrower than 2x the theme's logo width setting Upload a PNG at least twice the setting's width

Shopify Image Upload Checklist

Run every new banner, product photo, and collection image through these nine steps before you upload it.

  1. Find the image's widest on-screen size and double it.
  2. Crop to the section's aspect ratio, not the photo's original ratio.
  3. For banners and slides, keep the subject inside the central 45% of the width.
  4. Keep text out of banner, slideshow, and background images.
  5. Check megapixels: under 20 for theme images, under 25 for product and collection media.
  6. Export JPEG for photos or PNG for logos and transparency, at high quality in sRGB.
  7. Rename the file with descriptive, hyphenated words.
  8. Upload, set a focal point, and add alt text.
  9. Preview the page on desktop and on a real phone before you publish.

How Starapps Helps Keep Shopify Variant Images Consistent

StarApps homepage showcasing Shopify app solutions for eCommerce brands, featuring shopping experience optimization, conversion improvement tools, merchant statistics, and a promotional image of mobile commerce users.

Correct sizes decide how an image looks. Which image a shopper sees after picking a color, and how that image is described, is a separate problem. That second problem is where StarApps helps.

To be clear about scope: our apps don't resize or compress images. They control which images show, where they show, and how they're labeled. All three apps below carry Shopify's Built for Shopify badge.

  • SA Variant Image Automator shows only the selected variant's images inside your theme's own gallery. It groups images by their order in the gallery, so you don't tag each one, and it keeps your theme's zoom, video, and 3D models working. Our setup guide walks through the first install.
  • Variants King & Color Swatch adds color swatches to product and collection pages. It can also show each variant as its own collection listing with its own URL, title, and image, and it can link separate products into combined listings. If you use image swatches, crop them square at about 200 x 200 px so they stay sharp at the 44 to 48 px size we recommend in our mobile swatch guide.
  • AltKing: AI Alt Text SEO & ADA writes alt text for product and variant images from variables such as product title, variant, product type, and brand. It syncs daily, so new images get alt text without manual work.

Used together, these apps make sure a correctly sized image is also the right image for the shopper's selection, with a description search engines and screen readers can use.

Start With The Images Shoppers See First

Fix your Shopify images in order of visibility: the homepage hero, then product galleries, then collection cards. Size each one at twice its on-screen width, keep one aspect ratio per section, and check the result on a real phone before you publish.

Once your sizes are right, make sure every variant shows the images that match it. Try SA Variant Image Automator on your store, or talk to our team about your product pages.

‍

Frequently Asked Questions

What resolution or DPI should Shopify images be?

Pixel dimensions decide how sharp a Shopify image looks, not DPI. DPI is mainly a print setting, so exporting at a higher DPI doesn't add detail on screen. Export at the pixel sizes in this guide; 72 DPI is a safe default.

Does Shopify resize images automatically?

Yes, for display. When you add an image, Shopify creates smaller versions for different parts of your theme, and its CDN serves the size each screen needs. It never enlarges an image beyond its original size, and theme uploads over 20 megapixels fail, so resize oversized files first.

Why do my Shopify images look blurry?

Usually the image has fewer pixels than the screen needs, or the theme requests too small a version from the CDN. Inspect the image in your browser and compare its intrinsic and rendered sizes. On a 2x screen, the intrinsic width should be at least double the rendered width.

Do I need new image sizes when I switch Shopify themes?

Often, yes. Each theme sets its own section widths, banner heights, and product card ratios. After switching, check your hero, slideshow, and collection grids on desktop and mobile, then re-crop any image that loses its subject.

What size should Shopify swatch images be?

Crop swatch images square at about 200 x 200 px from a close-up of the fabric, color, or finish. Swatches work best at 44 to 48 px on screen, and 200 px keeps them sharp on 3x phone displays. Our guide to color and image swatches covers when to use each type.

What size should Shopify product images be for Google Shopping?

Your 2048 x 2048 px Shopify product images already meet Google's rules. Google Merchant Center recommends product images of 1500 x 1500 px or larger, caps them at 64 megapixels and 16 MB, and requires at least 500 x 500 px from January 31, 2027. Keep promotional text, watermarks, and borders off the main product image.

How many images can a Shopify product have?

Each Shopify product can hold up to 250 media items, counting images, videos, and 3D models together. Variant media must be images, because Shopify doesn't let you assign 3D models or videos to variants.

How do I make all my Shopify product images the same size?

Crop every featured product image to one aspect ratio, such as 1:1 or 4:5, before upload or with the Square crop in Shopify's media editor. Then set your theme's product card image ratio to Square or Portrait, so any image you missed is cropped to match.

Can I upload AVIF images to Shopify?

You don't need to. AVIF isn't in Shopify's list of supported upload formats, but Shopify already delivers your JPEG, PNG, and WebP images as AVIF to browsers that support it.

Heading

Shopify Image Size Guide 2026: Best Dimensions for Banners, Products and Formats
Author
Raphael Christian