Shopify store improvements
Shopify image optimization
Images are usually the heaviest part of a Shopify page, and they shape how professional a store looks. Shopify already does a lot of the technical work automatically, which means many popular 'image optimisation' steps are unnecessary, while a few things only the store owner can do make a real difference.
This page separates what Shopify handles from what you should handle: upload sizes, consistent aspect ratios, layout stability, banners with text and descriptive alt text.
Illustrative diagram
Store images
- Shopify handles
- CDN delivery
- WebP and AVIF
- Resizing
- You handle
- Source size
- Aspect ratios
- Accessibility
- Alt text
- Live banner text
- Stability
- Reserved space
- Consistent grids
Who handles what
| Task | Handled by | Notes |
|---|---|---|
| Delivery through a CDN | Shopify | Images are optimised through Shopify's content delivery network |
| Modern formats (WebP, AVIF) | Shopify | Served where the browser supports them |
| Resized versions for the theme | Shopify | Different sizes created automatically when you upload |
| Sensible source images | You | Within Shopify's limits, not far larger than needed |
| Consistent crops and ratios | You | Tidy grids and stable layouts |
| Alt text | You | Describes images for people using screen readers |
Upload sizes and limits
Shopify's documentation states that product and collection images can be up to 5000 by 5000 pixels or 25 megapixels, with a file size under 20 MB. Shopify then creates the smaller versions the theme needs. Uploading high-quality images comfortably within those limits gives the best results; there is little benefit in pre-compressing heavily, which can reduce quality without improving delivery.
Very large images still take longer to process and can be wasteful where a theme only ever displays them small, so use sensible sizes for each purpose.
Consistency that makes the store look better
Product images
- One aspect ratio across a collection, such as square or portrait
- Similar framing and background
- Main image showing the product clearly
Banners
- Separate mobile crop or focal point where the theme allows
- Text as live text, not baked into the image, where possible
- Important content away from edges that crop on phones
Stop the page jumping
When an image loads without its space reserved, content below it jumps down. This is measured as Cumulative Layout Shift, one of the Core Web Vitals, and it is annoying for shoppers who try to tap something just as it moves. Current themes usually reserve image space correctly; problems typically come from custom sections, app widgets or images with inconsistent ratios in grids.
Checking the web performance reports and loading key pages on a phone shows whether layout shift is a problem.
Alt text that helps
Describe what matters
For a product image, the item, colour and any key detail shown.
Avoid keyword lists
Alt text is for people, not a place to repeat search terms.
Decorative images
Purely decorative images can have empty alt text so screen readers skip them.
Banners with text
If text is in the image, the alt text should include it.
Banners with text
Banners with headlines baked into the image look sharp on desktop but often become unreadable on phones, cannot be translated, and are invisible to screen readers unless alt text repeats them. Using the theme's text overlay with a plain background image is usually better: the text stays sharp, adapts to screen size and can be edited without a designer.
Video and animation
Video can show products well but is much heavier than images. Use it where motion genuinely helps, keep clips short, avoid autoplay with sound and consider loading video only when a shopper chooses to play it. Animated GIFs are especially heavy; short video files are usually lighter for the same effect.
Product galleries
A product gallery should load the main image quickly and the others as the shopper browses, which current themes generally handle. What you control is the order and choice of images: the main image should show the product clearly, followed by detail, scale and in-use shots. Too many near-identical images add weight without helping. Zoom should work on phones for products where detail matters.
Questions about Shopify image optimization
Does Shopify compress images automatically?
Shopify optimises images through its CDN and serves modern formats such as WebP and AVIF where supported.
What size should product images be?
High quality within Shopify's limits of 5000 by 5000 pixels or 25 megapixels, and under 20 MB.
Do we need an image compression app?
Usually not, since Shopify already handles formats and resizing.
Why does the page jump while loading?
Images or widgets without reserved space cause layout shift.
What should alt text say?
A short description of what the image shows that matters to the shopper.
Should banner text be in the image?
Usually not. Theme text overlays stay readable on phones and are accessible.
Is video bad for speed?
It is heavy. Use it sparingly and avoid autoplay where possible.
How many images per product?
Enough to show the product from the angles that matter, plus scale and detail; avoid near-duplicates.
Sources referenced
Platform features, guidance and rules change. We check the current versions before committing to an approach. This page is general information, not legal advice.
- Shopify Help Center: Theme images (opens in a new tab) — reviewed 2026-10-22
- Shopify Help Center: Product media types (opens in a new tab) — reviewed 2026-10-22
Request a Custom Quote
Ask about Shopify image optimization
Thank you — your enquiry has been sent.
We have received your message and will reply by email. If you need to add anything, email info@letgetgrow.com.