The short answer
Shopify gives one clear size for product photos and leaves banner sizes to your theme. Product and collection images can be up to 5000 x 5000 pixels or 25 megapixels, in a file smaller than 20 MB. For square product photos, Shopify says 2048 x 2048 pixels usually displays best.
There is no single Shopify banner size. Your theme sets the banner's height and crops the image to fit each screen. In Shopify's free Dawn theme, you choose the height in the section's settings, and Dawn loads banner images up to 3840 pixels wide. The numbers on this page come from Shopify's Help Center and Dawn's own code.
Key takeaways
- Upload all main product photos in one shape, such as 2048 x 2048 pixels for square photos.
- Check your theme's banner settings before you design a banner.
- Set a focal point, where your theme supports it, so the important part of a banner stays on screen.
- Keep text out of banner images and add it in the theme editor instead.
Shopify product image size
Shopify's guide to product media allows product and collection images of up to 5000 x 5000 pixels, or 25 megapixels. The file must be smaller than 20 MB. For square photos, Shopify recommends 2048 x 2048 pixels.
The shape matters more than the exact size. Shopify advises one consistent aspect ratio, so every main image shows at the same size in the product gallery and on collection pages. Pick square or portrait, then use it for every product.
Shopify's help pages differ on the file type. The product media page names PNG as the best type for most product images, while the theme images page suggests JPEG for product photos and slideshows. Both work. When a shopper visits, Shopify can serve a lighter format such as WebP to browsers that support it.
Shopify banner size: why it depends on your theme
A banner fills the width of the screen, and screens come in very different shapes. So your theme decides how tall the banner is and crops your image to fill it. On a phone, a wide image loses its left and right edges. On a wide screen, a tall image loses its top and bottom.
Dawn shows how this works. Its Image banner section has a Height setting with four options: Adapt to first image, Small, Medium and Large. At Dawn's default text size, Small, Medium and Large are at least 420, 560 and 720 pixels tall on a computer. On a phone they are at least 280, 340 and 390 pixels tall.
Other themes use other heights and other names for the same settings. Find your theme's name with the free Shopify theme detector, then check the theme's documentation or the section's settings in the theme editor.
Upload limits, formats and logos
Shopify's theme images page lists an upload limit of 20 megapixels and 20 MB. Megapixels are the width times the height, divided by one million. If Shopify says a file under 20 MB is too large, reduce its pixel size. A 4000 x 4000 pixel image is 16 megapixels and fits both limits.
Use JPEG for photos and PNG for logos, icons and graphics with a transparent background. Shopify doesn't compress your file when you upload it, so export photos at the size you need.
In Dawn, you set the logo's width on screen between 50 and 300 pixels. Upload a sharp file at least as wide as the width you pick. A favicon should be 16 x 16 or 32 x 32 pixels. Shopify reduces a larger one to 32 x 32 when you upload it.
How to size and upload images without an app
- Find out which theme your store uses. Its name is at the top of Online Store, then Themes, in your Shopify admin.
- Export your main product photos in one shape. For square photos, 2048 x 2048 pixels matches Shopify's advice.
- Open the theme editor: go to Online Store, find your theme and click Edit theme.
- Click your banner section and look at its height or size setting. In Dawn, choose Adapt to first image if the whole image must show.
- Crop the banner image to the shape of the section before you upload it, and keep important details away from the edges.
- Upload the image and set a focal point on the part that must stay visible. Themes that support focal points keep that part in the frame when they crop the image.
- Add the headline and button with the section's text settings, not inside the image.
- Preview the page on a phone and on a computer, then save.
How to make product photos with Sternify
Sternify is a Shopify app for product pages. Its Image Lab makes AI product photos of a product from your store, in the shape you need.
- In Sternify, open Sternify AI and then the Image Lab.
- Choose a product from your store.
- Pick an inspiration, such as Lifestyle, On a model or Product, or describe the photo in your own words. Either is enough.
- Choose the shape: 1:1 Square or 4:5 Portrait for product photos, 16:9 Wide or 21:9 Ultra-wide for banners, and 9:16 Story for tall mobile spaces.
- Make the photos. Each one uses credits, and a photo that fails uses none.
- Click Add to product images to put a photo in the product's gallery in Shopify, or download it for a banner.
To change a photo, open it and say what to change. Everything else in the photo stays the same. The photos you make are also ready to use in Sternify's AI page builder, which turns a product into a complete product page.
Tips
- Use the same background and light for all main product photos, so collection pages look tidy.
- Show the product's size in at least one photo, in a hand or next to a familiar object.
- Write alt text that describes what each photo shows.
- Check banners on a real phone, not only in the editor's preview.
Mistakes to avoid
- Mixing square and portrait main photos, which makes product grids uneven.
- Putting sale text inside a banner image, where the theme can crop it on phones.
- Uploading a photo over 20 megapixels, which Shopify can refuse even when the file is under 20 MB.
- Copying a banner size from a blog post without checking your own theme's settings.