Images are the heaviest files on almost every Shopify store — and the most neglected. Across the last 1,200+ audits we've run at StoreAudit, image-related issues show up in 78% of stores. The most common finding: 34 of 83 product images had no alt text. That's not an outlier. That's typical.
Unoptimized images create a triple penalty. They slow your page speed (Google measures this and ranks you accordingly). They hurt your SEO (Google Image Search drives significant traffic for product-based stores, but only if your images have proper alt text and file names). And they break accessibility for the 15% of your potential customers who use screen readers or have visual impairments.
The good news: image optimization is one of the most straightforward fixes you can make. Every recommendation in this guide can be implemented in a single afternoon, and the impact on page speed, SEO, and accessibility is immediate.
Why Image Optimization Matters More Than You Think
Page Speed Impact
Images typically account for 50-80% of a Shopify page's total weight. A product page with 6 unoptimized photos can easily weigh 15-20 MB. On a mobile connection, that takes 8-12 seconds to load. Google's data shows that 53% of mobile visitors leave a page that takes longer than 3 seconds to load.
In our audit data, stores with properly optimized images (WebP format, correct dimensions, lazy loading) score an average of 15-20 points higher on Google PageSpeed Insights mobile scores than stores with unoptimized images. That's often the difference between a “Poor” and “Needs Improvement” rating — which directly affects both your Google ranking and your conversion rate. For a complete breakdown of speed factors, see our Shopify page speed optimization guide.
SEO Impact
Google Image Search is an underrated traffic source for product-based stores. When someone searches “handmade leather wallet” and clicks the Images tab, they see product photos from stores that have optimized their image SEO. If your images have no alt text, generic file names like IMG_4523.jpg, and no surrounding context, Google has no way to know what they contain — and they won't appear in image search results.
Alt text is also a ranking signal for regular web search. Google uses image alt text to better understand the content and relevance of a page. A product page with descriptive alt text on all images sends stronger relevance signals than one with blank alt attributes.
Accessibility Impact
Screen readers rely on alt text to describe images to visually impaired users. When a product image has no alt text, the screen reader either skips it entirely or reads the file name — “image underscore four five two three dot jpeg” — which is worse than useless. For a product page, this means a blind user literally cannot understand what you're selling.
Beyond being the right thing to do, accessibility is increasingly a legal requirement. The number of web accessibility lawsuits in the US has grown significantly year over year, and e-commerce sites are the most common target.
Alt Text: The Single Most Impactful Fix
If you do nothing else from this guide, fix your alt text. It takes 30 minutes for most stores and has the highest combined impact on SEO and accessibility of any image optimization.
What Good Alt Text Looks Like
Alt text should describe the image concisely and include relevant product details. It should sound natural — like you're describing the image to someone who can't see it.
Bad alt text:
alt=""(empty — the most common problem)alt="product image"(generic, tells Google and screen readers nothing)alt="leather wallet mens wallet brown wallet handmade wallet gift wallet"(keyword stuffing — Google penalizes this)alt="IMG_4523"(auto-generated from file name)
Good alt text:
alt="Brown full-grain leather bifold wallet, open to show 6 card slots and bill compartment"alt="Model wearing the Classic Fit navy polo shirt, front view"alt="Rose gold pendant necklace with 0.5ct cubic zirconia stone on 18-inch chain"
How to Add Alt Text in Shopify
Go to your Shopify admin and navigate to Products. Click on a product, then click on any product image. A panel opens where you can add alt text. Repeat for every image on every product. Yes, this is tedious — but it's a one-time task per image.
Pro tip: Start with your top 20 products by revenue. These pages get the most traffic and have the most to gain from proper alt text. Then work through the rest in batches of 20-30 per session.
For stores with hundreds of products, Shopify's bulk CSV export/import can speed this up. Export your products, fill in the “Image Alt Text” column in the spreadsheet, and re-import. This is significantly faster than clicking through each product individually.
File Format: Why WebP Matters
WebP is a modern image format developed by Google that provides 25-35% smaller file sizes than JPEG at equivalent visual quality. For a product page with 6 images, switching from JPEG to WebP can save 1-3 MB of page weight — which translates directly to faster load times.
The good news: Shopify automatically serves WebP versions of your images to browsers that support it (which is now over 95% of browsers). You don't need to upload WebP files manually. However, this automatic conversion only works well if your source images are high quality. If you upload images that are already heavily compressed (low-quality JPEGs), the WebP conversion can actually make them look worse.
Best Practice for Source Images
- Upload format: JPEG at 85-90% quality or PNG for images that need transparency. Shopify handles the WebP conversion.
- Resolution: Upload images at 2048x2048 pixels for product photos. Shopify's CDN automatically generates smaller versions for different screen sizes. Uploading larger than 2048px wastes storage without any visual benefit.
- Color profile: Use sRGB. Some cameras and editing software save in Adobe RGB or ProPhoto RGB, which can cause color shifts on web browsers.
- File size before upload: Each product image should be under 500 KB after compression. If your images are 2-5 MB each, run them through a compression tool like TinyPNG, Squoosh, or ImageOptim before uploading to Shopify.
File Naming Conventions
Image file names are a minor but real SEO signal. Google reads file names to understand image content, especially for Google Image Search. A file named brown-leather-bifold-wallet-front.jpg gives Google useful information. A file named IMG_4523.jpg or Screenshot 2024-03-15.png gives Google nothing.
File Naming Rules
- Use lowercase letters, numbers, and hyphens only. No spaces, underscores, or special characters.
- Be descriptive but concise:
navy-polo-shirt-front.jpgnotthe-classic-fit-navy-blue-polo-shirt-for-men-front-view-2024-spring-collection.jpg - Include the product name and a view descriptor:
product-name-front.jpg,product-name-detail.jpg,product-name-lifestyle.jpg - Don't stuff keywords. One or two relevant terms per file name is sufficient.
Important: Shopify does not let you rename images after upload. You need to rename files on your computer before uploading them. If your existing product images have bad file names, the most practical approach is to download them, rename them, delete the originals from Shopify, and re-upload with proper names. Do this in batches, starting with your highest-traffic products.
Image Dimensions and Responsive Serving
One of the most common image optimization mistakes is serving images that are much larger than the space they display in. A product image that displays at 600x600 pixels on screen but is loaded at 3000x3000 pixels wastes 96% of its data. The browser downloads the full 3000x3000 image and then scales it down — wasting bandwidth and slowing load time.
Shopify's CDN handles responsive image serving automatically using the srcset attribute — but only if your theme is properly configured. Most modern Shopify themes (Dawn and themes built after 2022) include proper srcset implementation. Older themes may not.
How to Check
Right-click on a product image on your store, select “Inspect,” and look at the <img> tag. If you see a srcset attribute with multiple URLs at different sizes, your theme is handling responsive images correctly. If you only see a single src attribute with no srcset, your theme is serving the same (likely oversized) image to all devices.
Recommended Upload Dimensions
- Product photos: 2048x2048 pixels (square). This provides enough resolution for zoom functionality on desktop while keeping file size manageable.
- Collection/category images: 1200x600 pixels (landscape). These display at smaller sizes and don't need zoom.
- Hero/banner images: 1920x1080 pixels. Wider format for full-width sections.
- Logo: Upload as SVG if possible for infinite scaling without quality loss. If JPEG/PNG, upload at 400x400 pixels minimum.
Lazy Loading: Don't Load What They Can't See
Lazy loading defers the loading of images that aren't visible on screen until the user scrolls to them. For a product page with 8 images where only 2 are visible without scrolling, lazy loading means the browser initially downloads only those 2 images — cutting initial page weight by 75%.
Most modern Shopify themes include native lazy loading using the loading="lazy" HTML attribute. This is supported by all modern browsers and requires no JavaScript — it's handled natively by the browser.
What to Lazy Load (and What Not To)
- Lazy load: Images below the fold (product gallery images after the first, related products, footer images, blog post images).
- Do NOT lazy load: The main product image (the first/hero image), your logo, any image that's visible immediately when the page loads. Lazy loading above-the-fold images actually hurts your LCP (Largest Contentful Paint) score because it delays loading the most important visual element.
To check if lazy loading is working, open Chrome DevTools (F12), go to the Network tab, filter by “Img,” and load a product page. If lazy loading is active, you should see only a few images load initially, with more loading as you scroll down.
Compression: Finding the Quality-Size Balance
Image compression reduces file size by removing data. Lossy compression (JPEG, WebP) removes visual data that the human eye is unlikely to notice. Lossless compression (PNG) preserves all visual data but achieves smaller reductions.
For product photos, JPEG at 80-85% quality is the sweet spot. Below 80%, compression artifacts become visible — banding in gradients, blurring of fine details, halos around text. Above 90%, you're paying for quality differences that virtually no customer will notice, especially on mobile screens.
How to Compress Before Upload
- Mac: Use ImageOptim (free). Drag and drop your images — it compresses them in place without visible quality loss.
- Windows: Use FileOptimizer (free) or Caesium (free).
- Browser-based: Squoosh.app (by Google, free) lets you compress individual images with a side-by-side quality preview.
- Bulk: TinyPNG/TinyJPG (free for up to 500 images/month) handles batch compression via drag and drop.
Target file sizes: Each product image should be under 200 KB after compression for most products. Lifestyle/hero images can be up to 400 KB. If any single image exceeds 500 KB, it's hurting your page speed.
Common Image Mistakes We See in Audits
From analyzing 1,200+ Shopify stores, here are the image issues we find most frequently, ranked by how often they appear:
- Missing alt text (78% of stores): The single most common issue. Usually 30-60% of a store's images have completely empty alt attributes. Fix this first.
- Oversized images (65% of stores): Product images uploaded at 4000x4000+ pixels when 2048x2048 is sufficient. These files are 3-5x larger than they need to be.
- No lazy loading (41% of stores): Especially common in older themes or heavily customized themes where lazy loading was removed or never implemented.
- Generic file names (58% of stores):
IMG_prefixes,Screenshotprefixes, or sequential numbers like1.jpg,2.jpg. - Missing images / broken URLs (12% of stores): Products referencing images that no longer exist, often from deleted variants or theme changes. These show as broken image icons, which destroy trust immediately.
- Decorative images without empty alt (22% of stores): Decorative images (borders, backgrounds, spacers) should have
alt=""(empty alt) so screen readers skip them. Instead, they often have alt text like “banner” or “decoration,” which clutters the screen reader experience.
An Image Optimization Checklist
Use this checklist to systematically optimize your store's images. Start with your top 20 products by revenue, then work through the rest:
- Every product image has descriptive, natural-language alt text (not keyword-stuffed).
- File names are descriptive and use hyphens:
product-name-view.jpg. - All product images are 2048x2048 pixels or smaller.
- Each image is under 300 KB after compression.
- Lazy loading is enabled for below-the-fold images.
- The main/hero product image is NOT lazy loaded.
- No broken image URLs (check with a site crawler or meta tag checker).
- Decorative images have empty alt attributes (
alt=""). - Images display correctly on mobile (no horizontal overflow, proper aspect ratios).
If your store has broader SEO issues beyond images, addressing those alongside your image optimization will compound the impact on your search rankings.
StoreAudit scans every image on your store and flags exactly what needs fixing.
Our audit checks alt text coverage, image file sizes, lazy loading implementation, broken image URLs, and responsive serving across your entire product catalog. You get a specific list of which images need attention and step-by-step instructions to fix each issue. $50 one-time.
Audit My Store — $50One-time payment. Results in under 2 minutes. Free 30-day re-audit included.
Measuring the Impact
After optimizing your images, measure the results to confirm the improvement:
- PageSpeed Insights: Run a test before and after. Focus on the LCP (Largest Contentful Paint) metric — image optimization directly improves this.
- Google Search Console: Check the Performance tab for image search traffic over the following 2-4 weeks. Properly tagged images start appearing in Google Image Search within 1-2 weeks of indexing.
- Total page weight: In Chrome DevTools (Network tab), compare the total transferred bytes for a product page before and after optimization. A 30-50% reduction is typical for stores that haven't previously optimized.
Image optimization is not glamorous work. It won't revolutionize your brand or create viral moments. But it reliably improves three things that directly affect revenue: page speed, search visibility, and accessibility. Those compound over every visitor, every day. That makes it one of the highest-ROI investments of time you can make in your store.