Image SEO is the work of making your images easy for search engines to find and understand, and fast for shoppers to load. For an online shop, images do three jobs at once: they sell the product, they can bring visitors from Google Images and Google Lens, and they are usually the biggest thing slowing your pages down. This guide gives UK ecommerce brands a practical checklist based on Google's own guidance, with examples for Shopify and WordPress. If you want this handled across your whole catalogue, our ecommerce SEO agency page explains how we help.

Google, Shopify and Merchant Center guidance below was checked in November 2026.

Quick Answer

For good image SEO: use real HTML <img> tags (not CSS backgrounds), give each image a short descriptive file name and specific alt text, serve modern formats such as WebP or AVIF at the right size with srcset, add width and height attributes, never lazy-load the main image at the top of the page, place images next to relevant text, and include image URLs in your product structured data and sitemap. For Google Shopping, use clean product shots with no text overlays.

Product images slowing your store down?

We will test your key pages and show you which images cost you speed and which are missing from Google.

Get a free image SEO check

Why Image SEO Matters for Online Shops

People search with pictures more than ever. Google's UK Think with Google page says Google Lens is used for over 20 billion visual searches every month, and 1 in 4 Lens searches has commercial intent (Google internal data, 2024, global). When someone photographs a lamp they like, you want your product to be one of the matches.

Images also shape your normal rankings. Google's image SEO best practices note that "images are often the largest contributor to overall page size", which affects how fast your pages load. Fast, clear product pages convert better and give Google fewer reasons to prefer a competitor.

Where images show upWhat helps
Google ImagesAlt text, file names, surrounding text, image sitemaps
Google Lens and visual matchesClear, high-quality, original product photos
Product rich results and ShoppingProduct structured data with image URLs, Merchant Center feed
Normal web resultsFast-loading images, good page experience

Help Google Find Your Images

  • Use HTML <img> elements. Google says it "doesn't index CSS images". A hero banner set as a CSS background will not appear in Google Images. If an image matters, put it in an <img> tag.
  • Use the same URL for the same image. Google advises using one consistent URL for an image across your site, which also helps caching.
  • Put images near relevant text. A product photo beside the product name, description and price gives Google context. A gallery with no words around it gives very little.
  • Do not block image folders in robots.txt. If Google cannot crawl the file, it cannot index it. Check with our robots.txt guide.
  • Use an image sitemap if images are hard to find, for example images loaded by JavaScript. Google says image sitemaps can list image URLs on other domains, which helps if you use a CDN.

How to Write Alt Text

Alt text is the written description of an image in the alt attribute. Screen readers read it aloud, so it is an accessibility requirement first. Google calls it the most important attribute for giving it information about an image. Write for the person who cannot see the image.

Missing: <img src="IMG_4471.jpg">

Keyword stuffed: alt="sofa sofas cheap sofa uk grey sofa best sofa buy sofa online"

Too vague: alt="product image"

Good: alt="Three-seater sofa in grey boucle with oak legs"

Alt text rules for product images

  • Describe what is in the picture: product type, colour, material, and what makes this shot different.
  • Make each image in a gallery different: "front view", "side view", "close-up of stitching", "shown in a living room".
  • Keep it to one short sentence. There is no need to start with "image of".
  • Include the product name where it fits naturally. Do not force keywords in.
  • Use empty alt text (alt="") for purely decorative images such as dividers and background patterns, so screen readers skip them.

File Names and Image Formats

File names

Google's guidance says short, descriptive file names help, and generic names like image1.jpg do not. Rename files before you upload them.

DSC_0093-final-v2-EDIT.jpg

grey-boucle-three-seater-sofa-front.jpg

Formats

Google supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF images. Make sure the file extension matches the actual file type.

FormatBest forNotes
WebPMost product and lifestyle photosUsually smaller than JPEG at the same quality
AVIFPhotos where file size matters mostOften smaller again; most modern browsers support it
JPEGFallback photos, Merchant Center feedsUniversally supported
PNGGraphics needing transparencyLarge for photos; avoid for product shots
SVGLogos and iconsScales to any size with a tiny file

Image Speed and Core Web Vitals

On most product pages, the main product image is the Largest Contentful Paint (LCP) element: the biggest thing that loads above the fold. How you load it decides much of your LCP score. Google's web.dev course on image performance issues gives clear rules:

  • Never lazy-load the main image above the fold. web.dev says you should never put loading="lazy" on an above-the-fold image. Lazy-load images further down the page instead.
  • Prioritise the hero image. Adding fetchpriority="high" to the main product image tells the browser to fetch it before less important images.
  • Always set width and height. The browser then reserves the right space before the image loads, which prevents layout shift (CLS). Pair it with CSS max-width: 100%; height: auto;.
  • Serve the right size. Use srcset or <picture> so phones get smaller files than desktops. Google recommends always including a fallback src.
  • Compress. A 4 MB photo straight from the camera has no place on a product page.
<img src="/images/grey-sofa-front-800.webp"
  srcset="/images/grey-sofa-front-400.webp 400w, /images/grey-sofa-front-800.webp 800w, /images/grey-sofa-front-1200.webp 1200w"
  sizes="(max-width: 768px) 100vw, 50vw"
  width="1200" height="1200"
  fetchpriority="high"
  alt="Three-seater sofa in grey boucle with oak legs">

For the full set of speed fixes, see our page speed guide, and for what the metrics mean, our Core Web Vitals guide.

Structured Data and Image Sitemaps

Product structured data tells Google which image belongs to which product, along with price, stock and reviews. Google's image guidance says the image property is required for eligibility for image badges and rich results. Include several image URLs per product if you have them, at good resolution.

You can also tell Google which image best represents a page using og:image or primaryImageOfPage. Google asks for a relevant, high-resolution image and advises against logos, images with lots of text, or extreme shapes. Our schema markup guide shows the Product markup in full.

Product Images for Google Shopping

Merchant Center has stricter image rules than organic search. Google's image link requirements include:

  • The main image must give a clean, unobstructed view of the product.
  • No promotional text, prices, calls to action, watermarks, added logos or borders.
  • No placeholder images such as "coming soon" or a logo instead of a product photo.
  • Files up to 16 MB in a supported format, with the extension matching the file type.
  • Google recommends around 1500 x 1500 pixels or more, and has announced a minimum of 500 x 500 pixels for all products from 31 January 2027.

Put any "Sale" badges on your site with HTML and CSS, not baked into the image file. Then the same clean image works for your feed, your page and Google Images. Our Merchant Center guide covers feed setup, and our product photography cost guide explains what good photos cost in the UK.

Image SEO on Shopify and WordPress

Shopify

  • Shopify's CDN serves WebP or AVIF automatically when the browser supports them, and its image_url and image_tag filters generate a srcset for you, according to Shopify's theme performance docs.
  • Add alt text to each product image in the product's media section. Some themes fall back to the product title if you leave it blank, which gives every image the same alt.
  • Rename files before upload, so the file name in the image URL describes the product.
  • Check your theme does not lazy-load the first product image. Shopify's own example loads the first few grid images eagerly and the rest lazily.

More platform tips are in our Shopify SEO guide.

WordPress and WooCommerce

  • WordPress creates several image sizes and adds srcset automatically. Upload images at a sensible maximum size rather than full camera resolution.
  • Set alt text in the media library or the image block. The image title field is not the same as alt text.
  • Use an image optimisation plugin or your host's CDN to convert to WebP and compress.
  • Exclude the first image on each page from lazy loading if your theme or plugin lazy-loads everything.

Image SEO Checklist

CheckDone when
Images in <img> tagsImportant images are not CSS backgrounds
Alt textEvery meaningful image has specific, unique alt text
File namesDescriptive, hyphenated, lowercase
FormatWebP or AVIF served where supported
Sizesrcset in place; no oversized files
DimensionsWidth and height set on every <img>
LoadingHero image not lazy-loaded; below-the-fold images lazy-loaded
ContextImages sit next to relevant text
Structured dataProduct markup includes image URLs
CrawlableImage folders not blocked in robots.txt
ShoppingFeed images clean, no overlays, high resolution

Run your top 20 product and category pages through PageSpeed Insights before and after. That shows you, and anyone signing off the work, whether the changes helped.

Why UK Ecommerce Brands Choose Growth Pulse Media

Image SEO on a shop with thousands of products is not a job you do by hand one picture at a time. We fix it at template level: alt text rules, file naming, image loading, structured data and feed images, then check the speed gains in Core Web Vitals data. Our ecommerce SEO agency service covers this alongside category pages, content, links and AI search visibility.

SEO starts from £1,500 a month, with no lock-in contract. You work with a founder-led team that shows you the before-and-after numbers.

Who This Is NOT For

Sites with only a handful of images. Follow the checklist above yourself in an afternoon.

Brands needing new photography. We optimise images; we do not run photo shoots. Get good photos first.

Anyone hoping alt text alone will lift rankings. Image SEO helps, but it works alongside strong pages, content and links.

Frequently Asked Questions

What is image SEO?

Image SEO is making images easy for search engines to find and understand and quick for users to load. It covers alt text, file names, formats, file size, loading behaviour, structured data and where images sit on the page.

Does alt text help SEO?

Yes. Google describes alt text as the most important attribute for giving it information about an image, and it is essential for accessibility. Write specific, natural descriptions and avoid stuffing keywords.

What is the best image format for SEO?

WebP is a safe default for photos, and AVIF can be smaller still. Google supports both, along with JPEG, PNG, GIF, BMP and SVG. Use SVG for logos and icons.

Should I lazy-load all images?

No. Lazy-load images below the fold, but never the main image at the top of the page. Lazy-loading the hero image delays it and usually makes your Largest Contentful Paint score worse.

Do image file names matter for SEO?

Yes, a little. Google says short, descriptive file names give it clues about the image. Rename files such as IMG_1234.jpg to describe the product before you upload them.

Can I put text or sale badges on product images?

Avoid it for your main product image. Merchant Center does not allow promotional overlays, prices or watermarks on product images. Add badges to your site with HTML and CSS instead.

Want faster pages and more visibility from your product images?

Send us your store URL. We will test your key pages and show you the image fixes that matter most.

Book your free SEO review

Dirk van Greuning — Founder, Growth Pulse Media
Dirk van Greuning Founder, Growth Pulse Media

Dirk has worked in digital marketing since 2016. He built and scaled an ecommerce business before starting Growth Pulse Media, and now runs SEO, Google Ads, Meta ads and email for ecommerce brands. Growth Pulse Media is a Shopify Partner and a Premium Omnisend Partner.

Connect on LinkedIn