SEO Guides for Ecommerce Businesses

How Ecommerce Product Images Affect Your Rankings

Most shops treat product photos as one job and fix the wrong half of it. This guide separates the two ways your images affect Google and shows where each fix belongs on a catalogue of any size.

Updated 25 November 2026 14 minute read
The short answer

How ecommerce product images affect your rankings

Ecommerce product images affect your rankings in two separate ways, which is why fixing one side so often leaves the other untouched. The first is weight and timing, because the main product photo is usually the largest thing on the page and the element Google's speed measures wait for, so a slow photo drags down Core Web Vitals across every product page that shares the same template. The second is traffic, because the photos themselves can be found in Google Images, through Google Lens and in product results, which only happens when Google can find each image, understand what it shows and link it back to the right page.

Most advice blends the two into one checklist, so a shop compresses every photo and assumes the job is done, while its main images are still lazy loaded and its alt text still reads IMG_4471. We treat them as two jobs with two different sets of fixes, which is the split the rest of this guide follows before showing how to do both across a catalogue of thousands of products.

Our own framing, drawn from Google Search Central, Image SEO best practices and Understanding Core Web Vitals. Text version: a product photo affects speed through its weight and loading (fixed in the template) and affects traffic through how findable it is, which is fixed in the product data.

Job one

Where the weight on a shop page really comes from

Images are the heaviest part of a typical home page, although the picture changes on the inner pages where most shop visits land. The Web Almanac 2024 page weight chapter found that the median mobile home page loads 900 KB of images against 558 KB of JavaScript, while the median mobile inner page loads only 348 KB of images against 582 KB of JavaScript. Google's own image guidance still calls images often the largest contributor to overall page size, which is true across a whole site, although on a product page the scripts from apps and widgets can easily weigh more than the photos.

That matters because it changes what you fix first. Compressing photos helps a home page full of banners, whereas a product page that is still slow after compression usually has a script problem rather than a photo problem, which our guide to how page speed affects shop rankings covers in detail.

Source: HTTP Archive, Web Almanac 2024, Page Weight chapter, figures 16.19 (mobile, October 2024 crawl). Bars share one scale. Text version: on the median mobile home page images weigh 900 KB and JavaScript 558 KB, while on the median mobile inner page images weigh 348 KB and JavaScript 582 KB.

Job one

Why the main product photo is slow: waiting, not downloading

The main photo is usually slow because the browser starts fetching it late, not because the file takes long to download. Largest Contentful Paint measures when the biggest visible element appears, which Google asks to happen within 2.5 seconds in its Core Web Vitals guidance. The Web Almanac 2024 performance chapter found that the largest element is an image on 73.3% of mobile pages, which on a product page is almost always the main product shot.

The same chapter split that time into parts for sites with slow pages and found that the wait before the image starts loading took 1,290 milliseconds, while downloading the image itself took only 350 milliseconds. In other words, shaving kilobytes off a photo that the page asks for late saves far less than asking for it early.

Source: HTTP Archive, Web Almanac 2024, Performance chapter, median 75th percentile LCP sub-parts, July 2024. Text version: on slow pages the server takes 2,270 ms, the wait before the image starts loading 1,290 ms, the download 350 ms and drawing it 360 ms.

Three habits cause most of that wait, each of them set in the theme rather than in the photo.

16%

The main photo is lazy loaded

Of mobile pages whose largest element is an image, 16% lazy load it in 2024, which tells the browser to hold back the one image that matters most.

9%

The photo is a CSS background

On 9% of mobile pages the main image is set from CSS, so the browser cannot see it until the stylesheet has been read. Google also does not index CSS images.

35%

The image is hidden from the first scan

On 35% of mobile pages the largest element cannot be found in the page's starting code, through lazy loading scripts, CSS backgrounds or images added by JavaScript.

Sources: Web Almanac 2024, Performance chapter; Google Search Central, Image SEO best practices on CSS images.

Job one

Lazy loading and the two things it can break

Lazy loading is the right choice for photos further down a product or category page, because it stops a phone downloading images nobody scrolls to. It goes wrong in two ways, which affect speed and indexing respectively, so a shop can have one problem without the other.

It can slow the main photo

Google's lazy loading guidance says not to lazy load content that is likely to be visible straight away, because it will take longer to appear. On a product page that means the first gallery image, while on a category page it means the first row of product cards.

Fix: load the first visible images normally and lazy load the rest. Keep the image in a standard img tag rather than a CSS background.

It can hide images from Google

The same guidance says lazy loading must not depend on scrolling or clicking, because Google Search does not interact with your page. A gallery that only loads photos after a swipe or a script that swaps in the real address later can leave Google with nothing to index.

Fix: run a product page through the URL Inspection tool in Search Console and check that each image address appears in the src attribute of the rendered page.

Source: Google Search Central, Fix lazy-loaded website content, updated 10 December 2025.

Size and format

Product image size for a website

There is no single correct pixel size for a product image, because the right size is whatever the slot on the page needs on each screen, which is why the best approach is to upload one large original and let the site serve smaller copies. Google's merchant listing guidance recommends several high resolution images of at least 50,000 pixels when width and height are multiplied, in 16x9, 4x3 and 1x1 ratios, while its image guidance recommends the srcset attribute to offer different versions of the same image, with a plain src address as a fallback.

Format matters more than most compression settings. Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, of which the newer formats are far lighter in practice. One more setting is worth checking in the theme, since the Web Almanac 2024 found that 66% of mobile pages have at least one image without set width and height, which lets the layout jump as photos arrive and hurts the Cumulative Layout Shift measure.

The three shapes Google asks for

16x9
4x3
1x1

Each at least 50,000 pixels, which is only about 224 by 224 for a square, though a product photo uploaded at 2,000 pixels across gives every version room. Google prefers photos that clearly show the product, for example against a white background.

Sources: Web Almanac 2024, Page Weight chapter, figure 16.28; Google Search Central, Merchant listing structured data, updated 8 September 2026. The 2,000 pixel width is our working habit, not a Google rule.

Job two

Alt text for product images

Alt text for a product image should describe what the photo shows in the words a shopper would use, naming the product, its colour or material and the view where that differs between photos. Google calls alt text the most important attribute for giving it more information about an image and warns against filling it with keywords, which on a shop usually means the product name pasted into every image in the gallery.

File names work the same way on a smaller scale, since Google asks for names that are short but descriptive, so navy-wool-crew-jumper-back.jpg tells it far more than IMG00023.JPG. Google also reads the page around the image, including captions and nearby text, which is one reason a well written product page helps its photos rank.

Missingalt=""

Nothing for Google or a screen reader to use.

Stuffedjumper mens jumper wool jumper navy jumper sale

The pattern Google tells sites to avoid.

BetterNavy wool jumper

Accurate, although every photo in the gallery would say the same.

BestBack of a navy merino crew neck jumper with ribbed hem

Says what this photo shows that the others do not.

Source: Google Search Central, Image SEO best practices, which uses the same ladder with a puppy example. The jumper is our illustration. More on alt text for every kind of site is in our guide to image SEO in general.

Job two

Product photos as a source of search traffic

Product photos reach shoppers through three routes beyond the product page itself, each of which depends on Google being able to fetch the image and match it to the right product. Visual search is no longer a niche, since Google said in October 2024 that Lens is used for nearly 20 billion visual searches every month and described shoppers using it to find items they have seen.

Google Images

Photos appear in the Images tab, where the page title, captions and alt text shape what they show for. Structured data with an image can add a product badge.

Measured in Search Console under search type Image.

Google Lens

Shoppers photograph or circle something they have seen and Google returns visual matches, which favours clear, original photos of the actual product over shared stock shots.

Counted in Search Console under Web, as multimodal searches.

Product results

Merchant listing markup requires an image property, so the photo you mark up is the one Google can show beside your price in product results.

Checked in Search Console's merchant listings report.

Sources: Search Console Help, Performance report, search type filter, checked 20 November 2026; Image SEO best practices; Merchant listing structured data.

Google's merchant listing guidance sets the rules for the photo in your product schema markup, which double as a sensible checklist for every main product image.

  • The image address can be crawled and indexed, which you can check with the URL Inspection tool.
  • The image shows the product that is marked up rather than a lifestyle shot of something else.
  • The file is in a format Google Images supports.
  • Several high resolution versions are supplied in 16x9, 4x3 and 1x1.
Platforms

Shopify image optimisation: what the platform already does

Shopify image optimisation is mostly about the theme rather than the photos, because Shopify already resizes images through its own servers and its image_tag code adds width and height for you, which leaves lazy loading as the setting most stores get wrong. Shopify's own performance team found in July 2023 that 82% of Shopify pages whose largest element is an image lazy loaded it, with those stores showing a median Largest Contentful Paint 1.0 second slower than the ones that loaded it straight away.

Shopify's developer documentation now calls lazy loading the main image one of the most common and damaging performance mistakes in themes, while its image_tag code loads images in the first three sections of a page normally while lazy loading those further down. Older or heavily edited themes often bypass that default, so it is worth checking even on a well known theme.

82%

of Shopify pages with an image as their largest element lazy loaded it in July 2023, according to Shopify's performance team.

Checks for a Shopify store

  • Open a product page with Chrome's developer tools and confirm the first gallery image has no loading="lazy" attribute.
  • Look for scripts such as lazysizes that swap src for data-src, which Shopify says hides the image from the browser's first scan.
  • Fill in the alt text on each product image in the admin rather than leaving the field blank for every photo.
  • Check how many apps add their own image galleries or zoom tools on top of the theme's.

Sources: Shopify Performance blog, How layout position impacts three big web performance levers, 15 August 2023; Shopify Dev, Never lazy load the LCP image; Shopify Dev, image_tag.

Smaller shops on other platforms face the same choices with fewer settings to change. In our experience Squarespace resizes uploaded images itself, so the work there is mostly in picking clean product photos and writing alt text, which is where Squarespace shops with lighter product galleries tend to win on speed without any code at all.

At scale

Optimising ecommerce product images across a whole catalogue

Across a catalogue of hundreds or thousands of products the order of work matters more than any single setting, because a fix made once in the template reaches every page while a fix made photo by photo never ends. We work in three tiers, starting with the template, then the product data and only then the hand work on the products that earn the most.

TierWhat changesReachEffort
1. The templateFirst gallery image loaded normally, standard img tags, set width and height, srcset sizes, WebP or AVIF delivery, lazy loading below the first screenEvery product and category page at onceA few days of theme work
2. The product dataAlt text and file names built from product name, colour and view; structured data image property filled for every productEvery product, through a spreadsheet or bulk editHours to set the pattern, then automatic
3. The best sellersOriginal photos in all three ratios, hand written alt text for each view, captions where they helpThe products that bring most revenueOngoing, a few products a week

Our method from shop audits. Text version: fix the template first because it reaches every page, then build alt text and names from product data in bulk, then give the best selling products original photos and hand written descriptions.

The mistakes we find most often in audits are a lazy loaded main photo, the product title pasted into every alt attribute, the same supplier photo used by dozens of other shops and a gallery app loading on top of the theme's own. We look for all four in the free audit we offer, which for shops near us includes product photo fixes for Bedford online shops alongside the wider search work. The full service is on our ecommerce SEO services page.

What cannot be promised

Google does not publish how much images count towards rankings, while its page experience guidance says that good Core Web Vitals scores do not guarantee top rankings, so faster photos are one input among many. Image traffic is also hard to forecast, since Search Console shows image clicks but cannot tell you how many Lens searches matched your products and went to a competitor.

Sources

  1. Google Search Central, Image SEO best practices, checked 25 November 2026.
  2. Google Search Central, Understanding Core Web Vitals and Google search results, updated 10 December 2025.
  3. Google Search Central, Understanding Google Page Experience, updated 22 September 2026.
  4. Google Search Central, Fix lazy-loaded website content, updated 10 December 2025.
  5. Google Search Central, How to add merchant listing structured data, updated 8 September 2026.
  6. Search Console Help, Performance report (Search results), checked 20 November 2026.
  7. Google, 3 ways visual search helps you shop, 3 October 2024.
  8. HTTP Archive, Web Almanac 2024, Page Weight, checked 25 November 2026.
  9. HTTP Archive, Web Almanac 2024, Performance, checked 25 November 2026.
  10. Shopify Performance, How layout position impacts three big web performance levers, 15 August 2023.
  11. Shopify Dev, Never lazy load the LCP image, checked 25 November 2026.
  12. Shopify Dev, Liquid filters: image_tag, checked 25 November 2026.
  13. Shopify Dev, Liquid filters: image_url, checked 25 November 2026.

Andrew Odgers, Director
Andrew is the director of Lillian Purge in Bedford, which audits and fixes online shops for search. He wrote this guide because the product photo problems we find in audits are rarely about the photos themselves. Read more about Andrew. Published 27 July 2026, updated 25 November 2026.

Related guides

Want to know what your product photos are costing you?

Send us your shop's address and we will check how your main product images load, whether Google can index them and which fix would reach the most pages first.