AI Product Photography
8 min read
By Slashlink Editorial Team2026-06-30

Shopify Product Image Sizes & Requirements (2026 Guide)

If you have ever uploaded a product photo to Shopify and wondered whether the dimensions were right — or why a competitor's store looks sharper than yours — this guide is for you. Image quality is one of the highest-leverage details a Shopify store owner can control. It affects how products look on retina screens, how fast pages load on mobile, and whether search engines index your images correctly.

This guide covers every spec Shopify cares about in 2026: recommended dimensions, aspect ratio, file format, file size, alt text, and mobile optimization. Note that Shopify may update its requirements over time, so confirm current limits in your Shopify Help Center before making bulk changes.

Shopify recommends uploading product images at 2048 x 2048 px in a 1:1 square ratio.

That single size works well for almost every situation. It is large enough to enable Shopify's built-in zoom feature, sharp enough to look crisp on high-density (retina) screens, and stays well within the platform's upload limits. If you only take one thing from this guide, make it that number: 2048 x 2048 px.

The platform's hard limits are higher — up to 5000 x 5000 px and 20 MB per image — but uploading at the maximum is not the goal. Going much larger than 2048 px increases file size without a visible improvement for most shoppers, which slows your store down rather than improving it.

Shopify Image Specs at a Glance

SpecRecommendedHard limit
Dimensions2048 x 2048 px5000 x 5000 px
Aspect ratio1:1 (square)Any
File sizeUnder 200–300 KB20 MB
File formatWebP (preferred), JPEGWebP, JPEG, PNG, GIF
JPEG quality80–85%
Alt text lengthUnder 100 characters
Color spacesRGB

Use this table as a quick reference when prepping images. Every row is a decision point that affects either visual quality, page speed, or SEO.

Aspect Ratio and Catalog Consistency

The 1:1 square ratio is recommended for more than technical reasons — it makes your catalog look consistent. When every product thumbnail is the same shape, the collection page looks clean and professional. Mix portrait and landscape images across a grid and the layout feels disjointed, which reduces buyer confidence.

Shopify does support non-square images. If your product category genuinely benefits from a different ratio — footwear often looks better at 4:5 portrait, for example — you can use that consistently. The key word is consistently. Pick one ratio per store (or per collection) and stick to it across every product. Inconsistency is more damaging than the specific ratio you choose.

If you are migrating an existing catalog or working with a photographer, agree on the crop and canvas size before the shoot. Retroactively cropping hundreds of images to a consistent ratio is tedious work that is easy to avoid upfront.

Best File Format (JPEG vs WebP)

For 2026, WebP is the best default format for Shopify product images. WebP files are typically 25–35% smaller than JPEG at equivalent visual quality, which translates directly into faster page loads — especially on mobile where network conditions vary.

Shopify's image CDN can serve WebP to browsers that support it (which is nearly all modern browsers), so if you upload WebP files you are starting from the best base rather than relying on on-the-fly conversion.

If you are working with existing JPEG files or your production workflow outputs JPEG, that is still a solid choice. Use 80–85% quality when exporting — below 80% you will often see compression artifacts on edges and gradients, and above 85% the file size grows quickly without a visible improvement on screen.

PNG is appropriate for images that require a transparent background (a product on a see-through canvas rather than a white or colored one). For opaque product shots on a white background, JPEG or WebP will always produce smaller files than PNG.

Avoid GIF for product images. It is limited to 256 colors and is only appropriate for simple animations.

For Shopify Sellers

Get product images that are already sized and formatted for Shopify

Upload a plain photo of your product and generate white-background shots and lifestyle scenes at the right dimensions, ready to upload to your Shopify store.
Try the Product Photo Generator

File Size and Compression

Target a file size of around 300 KB per image, and aim to stay under 200–300 KB where possible. Page speed is a real conversion factor — a one-second delay in mobile load time can noticeably affect bounce rate and sales.

A few practical pointers:

  • Export at the right resolution, not the maximum resolution. A 2048 x 2048 px WebP at 80% quality will typically land in the 150–300 KB range, which is the sweet spot.
  • Use a compression tool before uploading. Tools like Squoosh or ImageOptim can shave 20–40% off a file with no visible quality loss.
  • Do not let Shopify compress on your behalf as a substitute for proper export. Shopify does apply automatic compression, but you will get better control over quality and file size if you export correctly before uploading.
  • Check your images on a mobile connection, not just your studio wifi. A 1 MB product image that looks fast on a fast connection can still noticeably delay the page for a shopper on a slower mobile network.

For context on how image quality intersects with AI-generated photos, the same principles apply whether the image came from a camera or an AI tool — what matters is the final export. You can read more about using AI images in ecommerce contexts in our guide on whether Amazon allows AI product images.

Alt Text and Image SEO

Alt text is one of the most overlooked elements in a Shopify image setup, and it costs store owners organic traffic every day.

A few rules that apply in 2026:

  • Keep alt text under 100 characters. This is within Shopify's recommended range and aligns with what screen readers and search engines process well.
  • Describe what is in the image, specifically. "Matte black 12 oz ceramic coffee mug" is better than "coffee mug" and far better than "product image 3."
  • Include a relevant keyword naturally. If the image shows your core product, the alt text is a reasonable place for a primary or secondary keyword — but write for humans first, search engines second.
  • Do not stuff keywords. An alt text like "mug ceramic coffee mug buy mug shopify" will be ignored or penalized. One clear description, one keyword if it fits.
  • Fill in alt text for every product image, including secondary and lifestyle shots. Secondary images often go without alt text and represent missed SEO opportunity.

Shopify lets you add alt text when uploading a product image via the product editor. It is worth building this step into your upload workflow rather than treating it as optional.

Optimizing for Mobile Shoppers

In 2026, over 70% of Shopify traffic comes from mobile devices. This one statistic should shape every image decision you make.

What "optimizing for mobile" actually means in practice:

  • File size matters more than it used to. Mobile networks are faster than they were five years ago, but image-heavy pages still load perceptibly slower on mobile than on desktop wifi. Keeping images under 300 KB is a mobile optimization as much as a desktop one.
  • Test your images on a real phone before publishing. A product shot that looks crisp on a 27-inch monitor can look muddy or oddly cropped on a 6-inch phone screen. Check how the thumbnail renders in the collection grid and how the main image renders on the product page.
  • The 1:1 square ratio adapts better to mobile grids. Most Shopify themes show product grids in two columns on mobile. Square images tile more cleanly and predictably than portrait or landscape crops.
  • Shopify's CDN handles responsive serving. When you upload a 2048 x 2048 px image, Shopify generates smaller versions for mobile breakpoints. This is another reason to start at 2048 px — the downscaled versions will be sharper if the source is high resolution.

For inspiration on what kinds of shots perform well in ecommerce contexts, see our guide on product photography background ideas for AI-generated images.

How to Produce Compliant Images Fast

Knowing the specs is step one. Actually producing dozens or hundreds of correctly sized, compressed, and formatted images is where most store owners lose time.

A practical workflow:

  1. Shoot or source your product photos. Even a well-lit phone photo on a neutral background works as a starting point.
  2. Decide on your canvas size and ratio before editing. Set up a 2048 x 2048 px template in your editing tool so every image comes out the same shape.
  3. Remove or replace the background. A clean white or neutral background is the standard for main product images.
  4. Export as WebP at 80–85% quality or JPEG at the same quality. Check the file size before upload.
  5. Run through an image compressor if needed. If any image is over 400 KB, compress it before uploading.
  6. Add alt text at upload. Build this step into the workflow rather than doing a cleanup pass later.

If you are working with AI-generated product imagery, the same specs apply — and AI tools that are built for ecommerce will often output at the right dimensions automatically. See our related posts on AI product photography vs. hiring a photographer and Nano Banana product photography prompts for more on generating high-quality images from a single product photo.

Start Free

Generate Shopify-ready product images from one photo

From a plain photo of your product to white-background shots and lifestyle scenes at 2048 x 2048 px — sized, formatted, and ready to upload.
Generate Product Images

Frequently Asked Questions

What is the recommended Shopify product image size?+

Shopify recommends 2048 x 2048 px in a 1:1 square ratio. This size enables the built-in zoom feature, looks sharp on retina and high-density screens, and stays well within the platform's upload limits. The hard maximum is 5000 x 5000 px and 20 MB per image, but uploading at the maximum is not recommended because it increases file size without a visible benefit for most shoppers.

What file format should I use for Shopify product images?+

WebP is the best choice in 2026. WebP files are typically 25–35% smaller than JPEG at the same visual quality, which improves page load speed. If you are working with existing JPEG files, export at 80–85% quality. Use PNG only when you need a transparent background. Avoid GIF for product photos.

How do I keep Shopify product images under the recommended file size?+

Export at 2048 x 2048 px rather than a larger size, use WebP or JPEG at 80–85% quality, and run images through a compression tool like Squoosh or ImageOptim before uploading. A correctly exported 2048 x 2048 px WebP image will typically land in the 150–300 KB range, which is the target.

Why does aspect ratio consistency matter for Shopify?+

When every product image is the same shape, the collection grid looks clean and professional. Mixing portrait, landscape, and square images in a grid creates visual inconsistency that can reduce buyer confidence. Pick one aspect ratio — 1:1 square is the Shopify default and works well across themes — and apply it to every product in the store.

Can I use AI-generated images on Shopify?+

Yes. AI-generated product images are fully supported on Shopify as long as they accurately represent your product and meet standard image specs. The same size, format, and compression guidelines apply regardless of how the image was produced. A purpose-built AI product photo tool will often output at the correct dimensions for Shopify automatically.

More in AI Product Photography

AI Product Photography

Does Amazon Allow AI Product Images? 2026 Policy for Sellers

Yes, Amazon allows AI-generated product images — but only if they meet its image rules and accurately represent your product. Here is what is allowed, what gets listings suppressed, and how to stay compliant in 2026.

9 min read

AI Product Photography

AI Ghost Mannequin: Turn Flat Clothing Photos into On-Body Shots

Ghost mannequin photography used to mean a mannequin, a studio, and hours in Photoshop. In 2026, AI can reconstruct a garment's shape and drape from a single flat-lay photo — no equipment required. Here is how it works for apparel sellers.

9 min read

AI Product Photography

AI Jewelry Product Photography: Pro Shots Without a Studio

Jewelry is one of the hardest products to photograph. Learn how to go from a decent phone photo to marketplace-ready white-background shots and styled lifestyle scenes using AI — without distorting gemstone color, metal finish, or proportions.

9 min read