Shopify image sizes affect how product photos, collection cards, banners and logos look across desktop and mobile. There is no single dimension that fits every theme. Start with a sharp source image, match the crop to its purpose, and preview the live layout before resizing a full catalog.
Shopify image size quick reference
Use this table to plan assets, then confirm the actual crop in your store theme. Theme settings and layouts can change the visible result.
| Image use | Practical starting point | Check before publishing |
|---|---|---|
| Product photo | Square, about 2048 × 2048 px | Zoom, crop, product shape and detail |
| Collection card | Use the same ratio across one grid | Theme crop and focal point |
| Hero or banner | Wide landscape source; test a separate mobile crop | Subject position and text-safe space |
| Logo | Transparent PNG or SVG when supported | Header width and contrast on both backgrounds |
| Favicon | 32 × 32 px is a useful starting point | Recognizable at browser-tab size |
What size should Shopify product images be?
A square image near 2048 × 2048 px is a useful starting point for many product grids because it gives shoppers room to inspect details. It is not mandatory for every product. A tall garment, long piece of furniture or wide product may be clearer in a portrait or landscape ratio. Check how the image looks in both the product gallery and collection cards.
- Choose a shape that suits the product. Avoid cropping a product just to force it into a square.
- Keep the catalog consistent. Similar products shown together should use a stable aspect ratio.
- Leave breathing room. Keep labels and important product details away from image edges in case thumbnails crop.
- Show useful views. Add a close-up, scale reference, packaging or in-use photo only when it answers a real shopper question.
Collection images: make the grid feel consistent
Collection cards often crop images to fit a fixed shape. Before exporting images in bulk, open a collection page and note the ratio used by its cards. Use consistent framing for items that appear together, and set a focal point when your theme offers one. If the first product photo doubles as a collection thumbnail, choose a view that remains clear when reduced.
Shopify banner and hero image sizes
Banner dimensions depend on the theme and section layout. A wide desktop hero may be cropped heavily on a phone, so do not assume one image will frame well everywhere. Use a high-quality landscape source, keep the subject near the safe center, and preview the image at narrow and wide widths. If the section allows separate desktop and mobile assets, create crops for each.
- Use the dimensions shown in the section settings as a starting point.
- Keep headings and calls to action as live text, not baked into the image.
- Leave room around the subject for responsive crops.
- Check contrast and legibility if text sits over a photo.
Logo and favicon image dimensions
Prepare a transparent logo file when it needs to sit on a colored header. Export a crisp version that suits the header’s display size; a single maximum width will not fit every theme. For a favicon, 32 × 32 px is a practical starting point. Check that the mark stays recognizable when it appears very small, and test it on light and dark browser backgrounds.
How to optimize Shopify images without losing quality
Oversized files can slow pages, but aggressive compression can make products look blurry or change colors. Resize images to the largest useful display size, compress them while checking details, and avoid uploading near-identical gallery views. JPEG is often suitable for photographs; PNG can preserve transparency and sharp graphic edges. Modern formats may reduce file size, but verify the result on the actual storefront.
- Resize for the layout. A very large source adds little when the theme displays a small card.
- Check quality after compression. Inspect color, texture, text and fine edges at normal viewing size.
- Use responsive images in custom themes. The
srcsetandsizesattributes can let a browser choose an image suitable for the current layout. - Prioritize the first visible image. Do not lazy-load an image that is likely to be the page’s Largest Contentful Paint image; reserve lazy loading for suitable images farther down.
Mobile checklist for Shopify product images
Review your main product and collection pages on a phone or narrow browser window:
- The product is not cut off in the first image.
- Important details remain sharp at normal zoom.
- Text overlays do not hide the product or become hard to read.
- Gallery controls are easy to tap.
- Collection cards keep a consistent crop and do not jump while loading.
- The first visible image loads promptly; lower-page images can load as visitors scroll.
Alt text, filenames and image SEO
Write alt text to explain the purpose or visible details of an informative image, not to repeat keywords. For example, “Black leather crossbody bag with adjustable strap, front view” is more useful than “best bag, buy bag online.” Decorative images that add no information can use empty alt text. Use a readable filename before upload, such as black-leather-crossbody-bag-front.jpg.
For related DDS guidance, read our image SEO guide, Shopify SEO checklist, product title SEO guide and Shopify product page SEO guide.
Common Shopify image-size mistakes
- Assuming the same pixel dimensions fit every theme and section.
- Mixing aspect ratios in one collection grid.
- Using a desktop banner crop on mobile without checking the subject.
- Uploading maximum-resolution files by default.
- Lazy-loading the primary image near the top of the page.
- Using generic or keyword-stuffed alt text.
Shopify image sizes FAQ
What is the best Shopify product image size?
For many stores, square product images around 2048 × 2048 px are a practical starting point. The best size depends on product shape, theme crop, zoom and the layout where the image appears.
Should all product photos use the same aspect ratio?
Use a consistent ratio for products displayed together when it keeps each item clear. Change the crop when forcing a product into the common ratio would hide useful details.
What size should a Shopify logo be?
Export a sharp transparent logo, then adjust its display width in the theme settings. Header proportions vary, so preview it on desktop and mobile rather than relying on one universal pixel width.
What size should a Shopify favicon be?
32 × 32 px is a useful starting point. The most important check is whether the symbol remains recognizable at browser-tab size.
Which image format should I use?
JPEG is a common choice for photos. PNG is useful for transparency or crisp graphic edges. Choose a format that keeps the image clear at a reasonable file size, then check how it appears on the storefront.
Further reading
Use the W3C alt-text decision tree to choose appropriate text alternatives. For responsive image delivery, see MDN’s responsive images guide; for loading the main visible image, review web.dev’s Largest Contentful Paint guidance.
Build a clearer product experience
Start with images that represent products honestly, keep the grid consistent and test every crop on mobile. Resize and compress only as far as visual quality allows. Product photography, useful product details and a clear buying path should work together.
Need a review of your store’s product images, theme crops or SEO setup? Contact Duaa Digital Studio and tell us what you are working on.