Contact Us

Ecommerce · October 25, 2026

Product images that load fast and sell

Illustration of an ecommerce product page with an image gallery and bars showing smaller image file sizes

Ecommerce product image optimization comes down to three jobs done together: speed (WebP or AVIF files, the right dimensions, and a main image that loads first), SEO (descriptive file names, useful alt text, crawlable img tags) and conversion (sharp photos, zoom, multiple angles). Get those right and the same images sell more without slowing your store down.

On a product page, the main photo is usually the first thing shoppers look at and the heaviest file the browser downloads. It is also, very often, the Largest Contentful Paint (LCP) element that Google uses to judge how quickly your page loads. A poorly prepared gallery can cost you both sales and rankings.

This guide is for store owners, ecommerce managers and startups selling on WooCommerce, Shopify or Webflow. It covers what to fix, in which order, and how to get ready for Google Merchant Center's new minimum image size before it takes effect.

Why product images have such an impact on conversions

Online shoppers cannot touch or try anything, so your images do the work of the product itself. UX research firm Baymard Institute found that 56% of test participants started by exploring the images when they landed on a product page, before reading the description. The same research shows that 52% of the ecommerce sites reviewed add no descriptive text or graphics to the images of their best sellers, a missed chance to communicate features such as water resistance or dimensions at a glance.

A strong product gallery answers the questions a shopper would ask in a physical store:

  • What does it look like from every side? Front, back, profile and close-ups of materials and finishes.
  • How big is it really? An in-scale or on-model shot gives a reference point.
  • How is it used? A lifestyle image or short video.
  • Which variant will I get? One photo per color, linked to the variant selector.

The challenge is to add those visuals without turning the page into dead weight on mobile. The rest of this guide shows how. For the full anatomy of a high-converting page, see our ecommerce conversion rate optimization framework.

Google Merchant Center: 500 x 500 pixel minimum from January 31, 2027

If you list products on Google Shopping or in free listings, there is a deadline on the calendar. According to Google's image_link attribute documentation, product images must be at least 500 x 500 pixels for all products starting January 31, 2027. As Search Engine Roundtable reported, affected accounts are already seeing "Image too small" warnings, and Google recommends 1500 x 1500 pixels or larger for best performance across listing formats.

The same documentation lists what is not allowed on the main image: promotional text, watermarks, borders, placeholder images and upscaled thumbnails. Those "20% off" badges baked into the photo have no place in your feed.

What to do now: export your product feed, flag every image smaller than 500 px on either side (often legacy imports or thumbnails uploaded by mistake) and replace them with high-resolution originals. On a catalog with thousands of SKUs, run this check with a script rather than by hand.

Choosing the right image format and size

Google Images supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, according to its image SEO best practices. For an online store, four formats cover almost every need:

FormatBest forStrengthsWatch out for
AVIFProduct photos, bannersSmallest files at equal quality; WordPress cites up to 50% smaller than JPEGSlower encoding, server support required
WebPProduct photos, thumbnailsExcellent size/quality balance, supports transparencySlightly larger than AVIF
JPEGMaster files, Merchant Center feedsUniversal compatibilityHeavier files
SVGLogos, icons, badgesSharp at any size, tiny filesNot suitable for photos

How large should a product photo be?

Start with a square master image of at least 1500 px, shot on a neutral background with consistent framing across the catalog. That master feeds the zoom view and your Merchant Center listings. Your platform then generates the smaller versions for thumbnails, category grids and the cart. Never serve a 1500 px original inside a 300 px thumbnail: that is what the srcset and sizes attributes are for, letting the browser pick the right file for each screen.

Consistent aspect ratios prevent layout shift

Use one aspect ratio (for example 1:1 or 4:5) for every photo in a category and always set width and height in the markup. The browser can then reserve space before the image arrives, which protects your Cumulative Layout Shift (CLS) score. A grid where every product has a different shape jumps around while loading and looks less trustworthy.

LCP

2.5 s or less: the main image must render fast.

CLS

0.1 or less: reserve space for every image.

Merchant Center

500 x 500 px minimum from January 31, 2027.

Product images and page speed: protecting LCP without a thinner gallery

One rule matters more than any other: the main image loads first, everything else can wait.

  • Do not lazy-load the main image. Lazy loading is great for gallery thumbnails, related products and anything below the fold, but it delays the image shoppers see first. An analysis on web.dev found a median LCP of 3,768 ms for WordPress pages using lazy loading versus 3,495 ms without it, roughly 8% slower (a correlation, not proof of causation).
  • Add fetchpriority="high" to the main product image or homepage hero. WordPress has done this automatically since version 6.3, which typically improves LCP by 5 to 10% according to the WordPress performance team.
  • Load the first few grid images eagerly (the first four, for example) and lazy-load the rest.
  • Be careful with sliders. A five-slide hero carousel often downloads five large images for a single view. One well-chosen static image is faster and frequently converts better.

Running WooCommerce? Our guide on how to speed up WooCommerce covers the other levers: caching, scripts and hosting.

Product image SEO: getting found in Google Images and Shopping

Use img elements, not CSS backgrounds

Google is explicit: it does not index CSS images. Product photos should be <img> elements (optionally inside <picture>) with a fallback src. Some design-heavy themes render products as CSS backgrounds, so check this in any audit.

Descriptive file names

Rename IMG_4521.jpg to cognac-leather-shoulder-bag.webp. File names are a minor signal, but they cost nothing once they are part of your upload workflow.

Helpful alt text, no keyword stuffing

Google calls the alt attribute the most important piece of image metadata. Describe what the photo shows: "Cognac leather shoulder bag worn on the shoulder, side view" rather than "leather bag cheap bag women bag sale". Alt text also serves people using screen readers, which is why it features in our guide to the European Accessibility Act for ecommerce.

Image sitemaps and structured data

An image sitemap helps Google discover images loaded with JavaScript or served from a CDN. Also make sure the image property of your Product schema is filled in, as explained in our ecommerce structured data guide.

Platform-specific tips

WooCommerce and WordPress

WordPress generates several sizes on upload and outputs srcset automatically. It has accepted AVIF since version 6.5, provided your server supports it (check Tools > Site Health > Info > Media Handling), as stated in the official announcement. In WooCommerce, set main image and thumbnail widths under Appearance > Customize > WooCommerce > Product Images, then regenerate thumbnails after a theme change. WooCommerce's guide to fixing blurry product images walks through these settings. To convert an existing catalog to WebP or AVIF, an optimization plugin or an image CDN does the job without editing every product.

Shopify

Shopify handles much of the heavy lifting. Its developer documentation states that the CDN automatically serves WebP or AVIF to supporting browsers, and the Liquid image_tag filter builds the srcset. Your work is in the theme: loading: 'eager' and fetchpriority: 'high' for the main image, loading: 'lazy' for the rest of the grid, and widths that match your layout.

Webflow

Webflow creates responsive variants (up to seven widths, from 500 to 3200 px) for images uploaded through the Assets panel or a CMS image field, as long as the file is under 4 MB, according to its help center. Images placed in rich text, background images and CSV or API imports do not get variants. The image conversion tool turns JPEG and PNG files into WebP or AVIF, but it replaces the originals: back them up first, and keep JPEG for Open Graph images.

PlatformWebP / AVIFAutomatic srcsetMain watch-out
WooCommerceYes (AVIF depends on server)YesTheme image sizes, thumbnail regeneration
ShopifyAutomatic via CDNYes, with image_tagLoading priority in the theme
WebflowManual conversion (replaces original)Yes, files under 4 MBRich text, CSS backgrounds, CSV/API imports

Example: an action plan for a beauty store with 600 products

An illustrative case: a WooCommerce cosmetics store with 600 products, photos supplied by different brands in mixed formats and backgrounds, a mobile LCP around 4 seconds on product pages, and part of the catalog running on Google Shopping.

  1. Inventory: export the catalog with image dimensions and file weight; flag anything under 500 px and any image with promotional text.
  2. Photo guidelines: 1:1 ratio, white background, masters of at least 1500 px, one image per shade for variants.
  3. Technical fixes: WebP conversion, main image without lazy loading and with fetchpriority="high", explicit dimensions, gallery and related products lazy-loaded.
  4. SEO: rename files for the top 100 sellers, write descriptive alt text, check the image sitemap.
  5. Measurement: monitor field data over 28 days and the add-to-cart rate on the updated product pages.

Checklist: optimized product images

  • Square masters of at least 1500 px, consistent framing per category.
  • No feed image below 500 x 500 px, no promotional text or watermarks.
  • Photos served as WebP or AVIF with srcset and sizes.
  • Main image not lazy-loaded, with fetchpriority="high".
  • width and height set everywhere.
  • Products rendered as <img>, never as CSS backgrounds.
  • Descriptive file names and alt text.
  • Product schema image property and image sitemap verified.

Conclusion: images that sell without slowing you down

Product image optimization is not just about compression. It connects photography, theme development and SEO into one workflow. Stores that tackle it early win on several fronts: faster pages, more visibility in Google Images and Shopping, and shoppers who understand exactly what they are buying. The January 2027 Merchant Center deadline is a good reason to do the work before the holiday peak.

Want a faster, better-ranking store?

Agence Web Tunis delivers performance and SEO audits, optimization and redesigns for WooCommerce, Shopify and Webflow stores, for clients in Europe and Tunisia. Explore our ecommerce website development and SEO services, or send us your store URL for a free first review.

Request a free audit

For product photos, AVIF gives the best size-to-quality ratio, with WebP a close second. Keep a high-resolution JPEG master for archiving and for feeds such as Google Merchant Center, and use SVG for logos and icons.

Start from a square master of at least 1500 x 1500 pixels, the size Google recommends for Shopping. Your platform then generates smaller versions. Google Merchant Center will require at least 500 x 500 pixels for all products from January 31, 2027.

No. Lazy loading suits gallery thumbnails, related products and images further down the page. The main product image and the first images in a category grid should load immediately, ideally with fetchpriority="high" on the main image.

Yes. Google describes the alt attribute as the most important metadata for understanding an image. It should describe what the photo shows in natural language, without stuffing keywords. It also makes your store accessible to people using screen readers.

Partly. Shopify's CDN automatically serves WebP or AVIF to supporting browsers, and the image_tag filter generates multiple sizes. Your theme still needs to set loading priorities: the main image loads immediately, the rest of the page is lazy-loaded.