Image SEO for product pages: file names, formats, sizes and sitemaps
What Google and Bing document about image SEO, applied to product pages: img elements, formats, file names, alt text, lazy loading, sitemaps and schema.
On this page
- The image SEO checklist for a product page
- How Google finds images
- Supported formats
- Descriptive file names, with a pattern
- Alt text
- Responsive images: srcset and picture
- Lazy loading done right
- The same image under one URL
- Image sitemaps
- Structured data: the product's images
- Page speed: only what is documented
- What Merchant Center needs in addition
- Common mistakes
- Where Central helps
In short
- Google finds images in the src attribute of img elements, also inside a picture element, and does not index images set as CSS backgrounds.
- As of November 2026, Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF images; Merchant Center does not list SVG and AVIF, so JPEG, PNG and WebP work for both.
- Google says a file name gives it very light clues about an image and recommends short, descriptive names such as my-new-black-kitten.jpg over IMG00023.JPG.
- Google asks that lazy-loaded content loads whenever it is visible in the viewport, without depending on scrolling or clicking, because Google Search does not interact with the page.
- An image sitemap can list up to 1,000 images per page URL and may contain image URLs on another domain such as a content delivery network.
- For product structured data Google recommends several high-resolution images of at least 50,000 pixels (width times height) in the aspect ratios 16x9, 4x3 and 1x1.
The image SEO checklist for a product page#
Everything on this page comes from the search engines' own documentation, read on November 23, 2026. The short version:
| Check | What to do | Documented by |
|---|---|---|
| Real image elements | Every product image is an img element with a src, not a CSS background | |
| Format | BMP, GIF, JPEG, PNG, WebP, SVG or AVIF; the extension matches the file | |
| File name | Short and descriptive, for example brand, model, variant and view | Google, Bing |
| Alt text | Says what the image shows; no keyword list | Google, Bing |
| Responsive images | srcset or picture, always with a fallback src | |
| Lazy loading | Loads when visible in the viewport, with no scroll or click needed | |
| One URL per image | The same image has the same URL on every page | |
| Image sitemap | For images Google might not find otherwise, and for images on another domain | |
| Structured data | The product markup lists the product's images | |
| Dimensions | width and height set on every img | HTML standard, web.dev |
| Context | The image sits near text about the same product | Google, Bing |
No documentation promises a ranking for any of this. The checks make sure a search engine can find, load and understand the images you already have.
How Google finds images#
Google's image SEO documentation says it finds images in the src attribute of the img element, also when that element sits inside a picture element. It also says that Google does not index CSS images.
<!-- Found -->
<img src="/images/northpeak-beam-400-headlamp-black-front.jpg"
alt="Northpeak Beam 400 rechargeable headlamp in black, front view">
<!-- Not indexed -->
<div style="background-image:url(/images/northpeak-beam-400-headlamp-black-front.jpg)"></div>Themes sometimes build galleries, zoom views or color swatches with background images. View the source of a product page and check that the main image and every gallery image is an img element.
Google also reads the page around the image. It says it takes the subject of an image from the content of the page, including captions and image titles, and asks that images are placed near relevant text on pages about the same subject. A product page does this by nature, as long as the product's own images are on it. Bing's webmaster guidelines add the other side: images should reinforce the text of a page and not be the only source of information.
Supported formats#
| Formats listed | Source | |
|---|---|---|
| Google Search | BMP, GIF, JPEG, PNG, WebP, SVG, AVIF | Image SEO |
| Google Merchant Center | JPEG, WebP, PNG, GIF, BMP, TIFF | image_link |
Both pages ask that the file extension matches the real format. The two lists overlap in JPEG, PNG, WebP, GIF and BMP. If you serve AVIF on the product page, keep a JPEG, PNG or WebP version under its own stable URL for the feed.
Descriptive file names, with a pattern#
Google says the file name gives it "very light clues" about the subject of an image. Its advice: short but descriptive names, my-new-black-kitten.jpg over IMG00023.JPG, and no generic names such as image1.jpg, pic.gif or 1.jpg. For sites with thousands of images it suggests automating the naming. Bing lists descriptive file names among the things that help it understand images.
A pattern that works for product images, written in lowercase with hyphens as in Google's example:
brand-model-product-type-variant-view.jpg
| Camera or system name | Descriptive name |
|---|---|
IMG_4821.jpg | northpeak-trail-runner-2-trail-running-shoe-forest-green-side.jpg |
DSC00317.JPG | northpeak-trail-runner-2-trail-running-shoe-forest-green-outsole.jpg |
image1.jpg | northpeak-trail-runner-2-trail-running-shoe-slate-gray-side.jpg |
Stormline Jacket blue FINAL(2).png | northpeak-stormline-rain-jacket-slate-blue-front.png |
1.jpg | northpeak-stormline-rain-jacket-slate-blue-hood-detail.jpg |
product_58231_large.webp | northpeak-beam-400-headlamp-black-front.webp |
pic.gif | northpeak-beam-400-headlamp-black-on-trail.jpg |
Schlafsack Größentabelle.jpg | northpeak-nightfall-schlafsack-groessentabelle.jpg (German page) |
The last row follows another line of Google's page: if you localize your images, translate the file names too, and mind URL encoding for non-Latin or special characters. Writing ö as oe and ß as ss avoids encoded characters in the URL. The generator below turns product names into file names in bulk, handles umlauts and accents, and numbers duplicates.
The same rules apply to the page address; see URL slugs for product pages.
Alt text#
Google calls alt text the most important attribute for giving it more information about an image. It uses alt text together with computer vision and the content of the page, and as anchor text when an image is a link. It warns against filling alt attributes with keywords, which it says may cause a site to be seen as spam. Bing lists alt text next to file names, and asks that links carry relevant anchor text or image alt attributes.
How to write it for packshots, details, size charts and decorative images is in the guide to alt text for product images. The free image alt text generator writes it from the image.
Responsive images: srcset and picture#
Google's page says some browsers and crawlers do not understand srcset and picture, and recommends always giving a fallback URL in the src attribute.
<img src="/images/northpeak-beam-400-headlamp-black-front-800.jpg"
srcset="/images/northpeak-beam-400-headlamp-black-front-400.jpg 400w,
/images/northpeak-beam-400-headlamp-black-front-800.jpg 800w,
/images/northpeak-beam-400-headlamp-black-front-1600.jpg 1600w"
sizes="(max-width: 600px) 100vw, 600px"
width="800" height="800"
alt="Northpeak Beam 400 rechargeable headlamp in black, front view">With picture, the HTML standard requires an img element inside it, and Google asks that this img has a src. That is also how you serve a newer format and keep a fallback:
<picture>
<source type="image/avif" srcset="/images/northpeak-beam-400-headlamp-black-front.avif">
<source type="image/webp" srcset="/images/northpeak-beam-400-headlamp-black-front.webp">
<img src="/images/northpeak-beam-400-headlamp-black-front.jpg"
width="1500" height="1500"
alt="Northpeak Beam 400 rechargeable headlamp in black, front view">
</picture>Lazy loading done right#
Google's page on lazy-loaded content has one core rule: the implementation must load all relevant content whenever it is visible in the viewport. The details:
- Do not lazy-load what is visible right away. Google says this might make content take longer to load and show up. On a product page that is the main image.
- Use a method that needs no user action. Google names the browser's built-in lazy loading for images and iframes, the IntersectionObserver API, and a JavaScript library that loads data when it enters the viewport.
- Do not load on scroll or click events. Google's reason: Google Search does not interact with your page.
- Test it. In Search Console's URL Inspection tool, look at the rendered HTML and check that the image URLs are in the
srcattribute of theimgelements.
The browser's built-in method is the loading attribute of the HTML standard:
<img src="/images/northpeak-beam-400-headlamp-black-side.jpg" loading="lazy"
width="800" height="800"
alt="Northpeak Beam 400 rechargeable headlamp in black, side view">A gallery script that keeps the real URL in a data-src attribute and swaps it in on a scroll event fails rule 3.
The same image under one URL#
If an image is used on several pages, Google asks you to reference it with the same URL every time, so that it can cache and reuse the image without requesting it again. It names the site's crawl budget as the reason.
For a shop this means: the packshot on the product page, the category page and the search results page should come from one URL per size, not from URLs that differ by a session parameter, a timestamp or the page that requested them. Google's Merchant Center help asks for the same in feeds: stable image URLs without timestamps or session IDs.
Image sitemaps#
An image sitemap tells Google which images belong to which page. Google describes it as a way to report images it might not otherwise discover, such as images reached through JavaScript. You can add the image tags to your existing sitemap or keep a separate file.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://www.example.com/products/northpeak-beam-400-headlamp</loc>
<image:image>
<image:loc>https://img.example.com/northpeak-beam-400-headlamp-black-front.jpg</image:loc>
</image:image>
<image:image>
<image:loc>https://img.example.com/northpeak-beam-400-headlamp-black-side.jpg</image:loc>
</image:image>
</url>
</urlset>What Google documents:
- Two tags:
image:imageencloses one image,image:locholds its URL. - Up to 1,000
image:imagetags perurlelement. - Other domains are allowed. Unlike a regular sitemap, the image URL may be on another domain, which covers images on a content delivery network. Google encourages you to verify that domain in Search Console so that it can report crawl errors.
- Removed tags:
image:caption,image:geo_location,image:titleandimage:licenseare no longer in the documentation.
Your robots.txt must not block the image URLs. The guide to robots.txt for online shops shows what to allow.
Structured data: the product's images#
Google's image documentation says structured data can make images eligible for rich results, and that the image property is required to be eligible for a badge and rich result in Google Images. For products, its merchant listing documentation lists image as a required property of Product:
What Google says about image | Detail |
|---|---|
| Content | The URL of a product photo. Pictures that clearly show the product, for example against a white background, are preferred |
| Access | Image URLs must be crawlable and indexable |
| Relevance | Images must represent the marked-up content |
| Format | A format supported by Google Images |
| Size | Multiple high-resolution images, at least 50,000 pixels when width and height are multiplied |
| Aspect ratios | 16x9, 4x3 and 1x1 |
50,000 pixels is a low floor: an image of 224 x 224 pixels passes it. A 1500 x 1500 pixel packshot has 2.25 million.
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Northpeak Beam 400 Rechargeable Headlamp",
"image": [
"https://img.example.com/northpeak-beam-400-headlamp-black-front-1x1.jpg",
"https://img.example.com/northpeak-beam-400-headlamp-black-front-4x3.jpg",
"https://img.example.com/northpeak-beam-400-headlamp-black-front-16x9.jpg"
]
}This is only the image part. The other required properties are in the guide to product schema markup, and the product schema checker tests a live page.
Google also lets you name a preferred image for a page, with the schema.org property primaryImageOfPage, an image on the page's main entity, or the og:image meta tag. Its advice for that image: relevant and representative, no generic image such as a logo, no image with text, no extreme aspect ratio, and a high resolution.
Page speed: only what is documented#
Google's image page says two things about speed. Images are often the largest contributor to page size, which can make pages slow and expensive to load, and you should apply current image optimization and responsive image techniques. It points to PageSpeed Insights for measuring. It also notes that sharp, high-quality photos appeal to users more than blurry ones, in the result thumbnail too.
One fix is documented precisely: set the dimensions. The HTML standard strongly encourages giving img elements width and height attributes (or dimensions in CSS), so that the browser can reserve the space before the file arrives. Google's web.dev article on layout shift names images without dimensions among the most common causes of a poor Cumulative Layout Shift score and says to always include width and height on images. Browsers work out the aspect ratio from the two attributes.
Neither Google's image page nor these two sources give a pixel width or a file size that an image should have for search. Sizes for the channels you sell on are a separate matter: product image requirements compared lists them, and the product image checker at the top of this page tests your files against them.
What Merchant Center needs in addition#
Image SEO is about your own pages. A Google Shopping feed has its own image rules, which are stricter in some points:
- A minimum of 500 x 500 pixels, enforced from January 31, 2027, and around 1500 x 1500 pixels recommended.
- No promotional overlays, watermarks, borders or placeholders on the main image.
- An image per variant that shows only that variant.
- Image URLs that Googlebot and Googlebot-image may crawl.
- For AI-generated images, the IPTC metadata that marks them.
The details and the fixes for each image disapproval are in Google Shopping image requirements.
Common mistakes#
- Gallery images as CSS backgrounds. Google does not index them.
- Lazy loading tied to scroll events. The crawler does not scroll.
srcsetwithoutsrc. Some crawlers then see no image.- A new image URL on every page view, through session or cache parameters.
- File names from the camera on thousands of images. Rename them on export, not by hand.
- Facts that exist only as text in an image. Bing asks that images are not the only source of information; a search engine reads the page text and the alt text.
- AVIF in the Shopping feed. Merchant Center does not list it.
Images are one part of a product page. The rest, from titles to internal links, is in product page SEO.
Where Central helps#
Central researches the product data a listing needs from your own data, the open web and verified databases, and backs every value with sources you can check. From that verified product record it writes titles, descriptions and attributes within each channel's limits and generates listing images. What the sources do not support is held back, and when a fact behind a text changes, Central flags the text.
Questions
What is image SEO?
Image SEO is the work that lets search engines find, understand and show the images of a page: real img elements, a supported format, a descriptive file name, alt text, images that load without user action, one URL per image, and structured data that names the product's images.
Do image file names matter for SEO?
A little. Google says the file name can give it very light clues about the subject of an image and recommends short, descriptive names. Bing's guidelines list descriptive file names next to alt text. The content of the page and the alt text carry more.
Which image format should a product page use?
Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF and states no preference among them. If the same image URL also goes into a Google Shopping feed, use JPEG, PNG or WebP, because Merchant Center's list does not include SVG or AVIF.
Do I need an image sitemap?
Google describes image sitemaps as a way to tell it about images it might not otherwise discover, for example images loaded with JavaScript. If your product images are plain img elements on crawlable pages, Google can find them without one. A sitemap is also the place to list images hosted on a separate image domain.
Does lazy loading hurt image SEO?
Not if it is done the way Google documents: the image loads when it becomes visible in the viewport, without a scroll or click handler, and the image URL ends up in the src attribute of the img element in the rendered HTML. Images visible right away should not be lazy-loaded.
Sources
- Google image SEO best practicesGoogle Search Centralchecked 23 November 2026
- Image sitemapsGoogle Search Centralchecked 23 November 2026
- Fix lazy-loaded contentGoogle Search Centralchecked 23 November 2026
- Merchant listing (Product, Offer) structured dataGoogle Search Centralchecked 23 November 2026
- Bing Webmaster GuidelinesMicrosoft Bingchecked 23 November 2026
- HTML Standard: ImagesWHATWGchecked 23 November 2026
- HTML Standard: The img elementWHATWGchecked 23 November 2026
- Optimize Cumulative Layout Shiftweb.dev (Google)checked 23 November 2026
- Image link [image_link]Google Merchant Center Helpchecked 23 November 2026