WebmasterID logoWebmasterID
Crawl diagnostics

Image sitemaps

Image sitemap information uses Google's image sitemap extension to list images associated with a page, helping Google discover images it might not otherwise find — for example those loaded via JavaScript or referenced in CSS. This page covers the image namespace, the per-page image limit, and when image sitemap data is worth adding.

Verified against primary sources

What this means

An image sitemap is a standard XML sitemap that adds Google's image namespace so each url entry can list one or more image:image children with an image:loc (the image URL). It helps Google find images associated with the page.

This is most useful when images are not easily discoverable from the HTML — for instance images loaded by JavaScript or referenced only in CSS background properties — which normal crawling may miss.

Format and limits

Add the image namespace to the sitemap's urlset, then under each url, include image:image entries with image:loc. You can list up to 1,000 images per page in the sitemap. Image URLs may be on a different host (such as a CDN), provided that host is verified or you use the sitemap to indicate ownership.

Google deprecated several image-specific sub-tags (like caption, title, and license), so image:loc is the key remaining field. Use absolute URLs and keep the listed images present on the page.

When it helps

Image sitemap data mainly helps when images would otherwise be undiscoverable — JavaScript-injected images, CSS backgrounds, or images on a separate CDN host. For images already present as standard img elements in the HTML, Google can usually find them by crawling, so a sitemap adds little.

It is a discovery aid for Google Images, not an indexing guarantee. Validate the sitemap structure and confirm the image URLs return 200; broken image URLs simply will not be indexed.

How it appears in analytics and logs

Image sitemap entries tell Google which images belong to a page so it can crawl images it might otherwise miss. They aid image discovery for Google Images; they do not guarantee image indexing and add no benefit for images already discoverable in the HTML.

Diagnostic use case

Help Google discover images that are hard to find through normal crawling, such as JavaScript-loaded or CSS-referenced images, by listing them in a sitemap.

What WebmasterID can help detect

WebmasterID shows which crawlers fetch your pages and image URLs and the responses returned, helping confirm that image assets you list are reachable and return 200 to crawlers rather than erroring.

Common mistakes

Privacy and accuracy notes

Image sitemaps reference public image URLs and the pages that host them, not visitors. WebmasterID records crawler fetches as bot events and stores no user data.

Frequently asked questions

When should I use an image sitemap?
When images are hard to discover through normal crawling — for example JavaScript-loaded images, CSS background images, or images served from a separate host. For standard HTML img elements, Google can usually find them without a sitemap.
How many images can I list per page?
Up to 1,000 images per page in the sitemap, each with an image:loc. Several older image sub-tags have been deprecated, so image:loc is the main field to provide.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.