Have you ever uploaded a nice product photo to Shopify, only to see it cropped, blurry or a different height from the other products in your collection grid? This happens all the time, and the cause is almost always the Shopify image size or aspect ratio of the files you upload.
In this tutorial, we will learn how to choose the right Shopify image size for every part of your store: product images, collection images, slideshow banners, logo, favicon and blog featured images. We will also look at the upload limits, which file format to use, and how to fix images that look cropped or stretched.
Previously, I published a tutorial on how to add products and variants in Shopify. This guide is the natural next step: once your products exist, you want their photos to look sharp and consistent.
Contents
- Shopify image size cheat sheet
- Step 1: Choose the right product image size
- Step 2: Resize and crop your images to one ratio
- Step 3: Export in the right file format
- Step 4: Upload images and add alt text
- Step 5: Set the image ratio in your theme
- Collection, banner, logo and blog image sizes
- Common errors
- Wrapping up
Shopify image size cheat sheet
If you only need the numbers, here they are. The product image recommendation and the upload limits come from the official Shopify Help Center. The other sizes are the values that work well with the free Shopify themes (Dawn, Horizon and similar) and that most designers use.
| Image type | Recommended size | Aspect ratio |
|---|---|---|
| Product image | 2048 x 2048 px | 1:1 (square) |
| Product image (minimum for zoom) | 800 x 800 px | 1:1 |
| Collection image | 1024 x 1024 px | 1:1 |
| Slideshow / hero banner | 1920 x 1080 px (or 2000+ px wide) | 16:9 |
| Logo | About 500 px wide (PNG or SVG), displayed at 100–250 px | Free |
| Favicon | 32 x 32 px (upload 64 x 64 or larger, PNG) | 1:1 |
| Blog featured image | 1200 x 800 px | 3:2 |
Shopify image upload limits
According to the Shopify Help Center page about product media types, product and collection images can be up to 5000 x 5000 px (25 megapixels) and up to 20 MB per file. For square product images, Shopify says that 2048 x 2048 px usually displays best.
Supported formats include JPEG, progressive JPEG, PNG, GIF, HEIC and WebP. TIFF and BMP files are accepted for products too, but Shopify converts them on upload. You don’t need to compress images before uploading: Shopify’s CDN automatically serves smaller versions and modern formats such as WebP to browsers that support them.
Step 1: Choose the right product image size
For product photos, I recommend 2048 x 2048 px square images. This size is large enough for the zoom feature on product pages, looks sharp on retina screens, and the file is still small enough to load quickly.
A few rules that save a lot of headaches:
- Use the same aspect ratio for every product. If one photo is portrait and another is landscape, your collection grid will have cards with different heights.
- Don’t go below 800 x 800 px. Smaller images look blurry when the customer zooms in.
- Keep the product centered with some white space so nothing important is cut off on mobile.
- If you sell clothing and prefer portrait photos, pick one ratio such as
4:5(for example1600 x 2000px) and use it for all products.
Step 2: Resize and crop your images to one ratio
If your photos come from different sources (phone, supplier, photographer), they probably have different sizes. You can crop them one by one in any photo editor, or batch-resize a whole folder with the free ImageMagick command-line tool.
The command below resizes one photo so it fits inside 2048 x 2048 px, then pads it with a white background so the final image is a perfect square:
magick tshirt-front.jpg -resize 2048x2048 -background white -gravity center -extent 2048x2048 -quality 85 tshirt-front-2048.jpg
You can check the result with magick identify. To process every JPG in the folder at once and save the square versions in a square subfolder, use mogrify:
mkdir -p square magick mogrify -path square -resize 2048x2048 -background white -gravity center -extent 2048x2048 -quality 85 *.jpg
The -path square option is important: without it, mogrify overwrites your original files.
If you prefer not to use the command line, Shopify also has a built-in media editor. Open a product, click the image in the Media section and use the crop tool. You can also set a focal point (the blue dot) so the theme keeps the most important part of the image visible when it crops it.
Step 3: Export in the right file format
Which format should you choose?
- JPG for photos: product photos, banners and slideshow images. A quality of 80–85 is a good balance.
- PNG for logos, icons and images that need a transparent background.
- SVG for logos if your theme supports it, because it stays sharp at any size.
- WebP is accepted, but Shopify already converts your images to WebP for supported browsers, so you can safely keep uploading JPG and PNG.
Also give your files descriptive names before uploading, for example classic-white-t-shirt-front.jpg instead of IMG_4521.jpg. It helps with image SEO and makes your files easier to find later.
Step 4: Upload images and add alt text
From your Shopify admin, go to Products, open a product and drag your images into the Media section. If you have hundreds of products, it’s faster to add image URLs in the Image Src column when you import products into Shopify with a CSV file.
After uploading, click an image and add alt text. Alt text describes the image for screen readers and search engines, for example “Classic white T-shirt, front view”. Then click Save.
Step 5: Set the image ratio in your theme
Most free Shopify themes let you control how product images are displayed in collection grids. In Dawn and similar themes:
- Go to Online Store > Themes and click Customize.
- Open a collection template (for example Default collection) and click the Product grid section.
- Find the Image ratio setting and choose Adapt to image, Portrait or Square.
- Click Save.
Square is the safest choice when all your product photos are 1:1. If you choose Adapt to image, the card height follows the first product image, so mixed ratios will produce an uneven grid. The setting names can be slightly different in paid themes, so check your theme documentation if you can’t find it.
Collection images
Collection images appear in collection lists and sometimes as a banner at the top of the collection page. A 1024 x 1024 px square works well for collection lists. If your theme shows the collection image as a wide banner, use a landscape image of around 1920 x 600 px instead and set a focal point.
Slideshow and hero banners
Use a landscape image at least 1920 x 1080 px (16:9). Shopify recommends not putting text inside banner images: add headings and buttons in the theme editor instead, because the image is cropped differently on desktop and mobile. Keep the main subject in the center and set a focal point.
Logo and favicon
Upload a logo around 500 px wide as PNG (with a transparent background) or SVG, then adjust its display width in the theme settings. For the favicon, upload a square PNG; Dawn-based themes scale it down to 32 x 32 px automatically.
Blog featured images
For blog posts, 1200 x 800 px (3:2) looks good in blog grids and is also a nice size when the article is shared on social media.
If you sell clothing, you may also want to read my guide on how to add a size chart in Shopify, since a size chart image needs to be readable on mobile too.
Common errors
Product images look cropped in the collection grid
Your theme’s Image ratio is set to Square or Portrait while your photos have a different ratio. Either crop all photos to the same ratio (Step 2) or change the setting to Adapt to image.
Images look blurry
The source image is too small. Re-upload at least 800 x 800 px, ideally 2048 x 2048 px. Also check that the image wasn’t saved with a very low JPG quality.
“File is too large” or the upload fails
The file is over 20 MB or larger than 5000 x 5000 px. Resize it with the command in Step 2 and export as JPG at 85% quality.
I replaced an image but the old one still shows
If you replace an image with a different file type (for example JPG to PNG), collection or blog images may not update. Remove the image, save, then upload the new file again.
Colors look different after upload
Shopify strips embedded color profiles. Export your images in the sRGB color space so colors look the same in every browser.
For more details about theme images, focal points and slideshows, see the official Shopify Help Center guide to theme images.
Wrapping up
That’s it! The quick rule is: use 2048 x 2048 px square images for products, keep the same aspect ratio across your catalog, use landscape 1920 x 1080 px images for banners, and let Shopify handle compression and WebP for you. Once your images are consistent, your store instantly looks more professional.
If you have any questions about Shopify image sizes or your images still look cropped, feel free to leave a comment below and I will help you out.






