Shopify Image Size Requirements by Placement
Shopify doesn't enforce strict image dimensions, but using the wrong sizes leads to either blurry product pages or bloated load times. Here are the recommended dimensions based on where the image appears in your store.
| Image Placement | Recommended Size (px) | Max File Size | Aspect Ratio |
|---|---|---|---|
| Product Hero | 2048 x 2048 | 400 KB | 1:1 (square) |
| Collection Thumbnail | 800 x 800 | 150 KB | 1:1 |
| Banner / Slideshow | 1920 x 1080 | 500 KB | 16:9 |
| Blog Featured Image | 1200 x 628 | 250 KB | 1.91:1 |
| Favicon | 32 x 32 | 10 KB | 1:1 |
Shopify automatically generates multiple sizes from your uploaded image through its CDN, but it can only scale down. Uploading images smaller than the recommended size means Shopify serves a blurry version on high-resolution displays. Always upload at the maximum recommended size and let Shopify's CDN handle the rest.
Use square (1:1) product images across your catalog. Square images display consistently across all Shopify themes and prevent awkward cropping in collection grids. If your product is taller than it is wide, add white padding to maintain the square ratio.
Image Formats: What Shopify Actually Serves
Here's something most Shopify store owners don't realize: Shopify's CDN automatically converts your images to WebP for browsers that support it, regardless of what format you upload. But your original format still matters for two reasons: it determines the baseline quality, and it's what gets served to the small percentage of browsers that don't support WebP.
Upload JPEGs for standard product photos. Upload PNGs only when you need transparency, such as product images on a transparent background that your theme composites onto a colored surface. Shopify handles the WebP conversion automatically, so you get the best of both worlds.
Alt Text and File Names for Shopify SEO
Shopify images rank in Google Image Search, and Google Image Search drives 22.6% of all web searches. Proper alt text and file naming is one of the simplest SEO wins available to any store owner.
File naming rules:
- Use descriptive, keyword-rich file names:
blue-merino-wool-sweater-front.jpgnotIMG_4392.jpg - Separate words with hyphens, not underscores
- Include the product name and a descriptor (front, side, detail, lifestyle)
- Keep file names under 80 characters
Alt text rules:
- Describe what's in the image as if explaining it to someone who can't see it
- Include the product name and key attributes (color, material, size context)
- Keep it under 125 characters
- Don't stuff keywords or start with "Image of" or "Photo of"
Bad Alt Text
- "product image"
- "blue sweater buy now cheap sweater best sweater"
- "IMG_4392"
- Left blank
Good Alt Text
- "Blue merino wool crew-neck sweater, front view"
- "Woman wearing oversized blue sweater with jeans, outdoor setting"
- "Close-up of sweater ribbed cuff detail showing knit texture"
- "Blue merino sweater flat lay on white background"
In Shopify, you set alt text in the product image editor. For theme images (banners, promotional graphics), edit the alt text in the theme customizer under the image settings.
Optimizing Shopify Image Loading Speed
Page speed directly impacts conversion rates. A one-second delay in mobile load time can reduce conversions by up to 20%, according to Google's own research. Images are typically the largest contributor to slow load times.
Key techniques to speed up image loading on Shopify:
- Enable native lazy loading: Most modern Shopify themes include
loading="lazy"on below-the-fold images. Check your theme code to confirm. - Preload hero images: Add a preload hint for your above-the-fold product image to improve Largest Contentful Paint (LCP).
- Limit images per page: Collection pages with 48+ product thumbnails per page load significantly slower. Paginate at 24 products.
- Compress before uploading: Even though Shopify's CDN compresses images, pre-compressing to quality 80 JPEG reduces the source file and speeds up CDN processing.
- Use responsive image markup: Ensure your theme uses the
srcsetattribute so mobile devices download smaller image variants.
Structured Data for Product Images
Google uses structured data to understand and display your product images in rich search results. Shopify themes automatically generate basic product schema, but most miss the image-specific properties that improve visibility.
Add these properties to your product schema markup:
image: Array of all product image URLsthumbnail: URL of the primary thumbnail imageassociatedMedia: Links images to specific product variants
You can add this through a Shopify app or by editing your theme's product.liquid template. The impact is measurable: products with complete image schema see an average 12-18% increase in Google Shopping impressions.
Use Google's Rich Results Test tool (search.google.com/test/rich-results) to validate your product schema after making changes. It shows you exactly what Google sees and flags any missing fields.
A Practical Shopify Image Workflow
Bringing all of this together, here's a step-by-step workflow for optimizing every product image before it hits your Shopify store:
- Shoot or generate at high resolution: Capture at least 2048 x 2048 pixels. Tools like Retouchable can generate studio-quality product images at any resolution, which skips the photography step entirely.
- Edit and crop to 1:1: Use consistent square framing across your catalog.
- Export as JPEG at quality 80: This hits the sweet spot between visual quality and file size for most product photography.
- Rename files descriptively: product-name-color-view.jpg
- Upload to Shopify: Add alt text immediately while the image context is fresh in your mind.
- Validate: Run Google PageSpeed Insights on a product page to check image-specific scores.
| Optimization Step | Time Per Image | Impact on Page Speed |
|---|---|---|
| Resize to 2048px | 10 sec | High |
| Compress to quality 80 | 5 sec | High |
| Rename file | 15 sec | Medium (SEO) |
| Write alt text | 20 sec | Medium (SEO) |
| Add structured data | One-time setup | Medium (SEO) |
For stores with large catalogs, this manual workflow breaks down quickly. Batch processing tools and AI-generated images can compress this entire pipeline into minutes rather than hours per product.