What is an Image Sitemap?

An image sitemap is an XML sitemap that identifies the images associated with pages on a website. Its role is discovery: it can expose image resources that ordinary link crawling may not reveal clearly, associating each image URL with the page that presents it.

How Image Sitemaps work

An image sitemap expresses discovery relationships in XML by attaching image resource locations to the page URLs that present them. It supplements crawl paths when scripts, galleries, or other presentation patterns make those relationships difficult to infer. Sitemap generation typically reads the canonical publishing inventory and emits only public, stable resources. Search systems may use the file as a crawl hint. Google now reads only the image location from each entry, while normal access controls, response status, and page signals still govern retrieval and interpretation.

Key facts

  1. Image entries use a dedicated XML namespace within the sitemap format; namespace or escaping errors can make otherwise well-formed-looking records invalid.
  2. Google deprecated the extension’s caption, title, geolocation, and license tags in 2022. The parent page URL now supplies page context, while the image location identifies the media resource a crawler should fetch.
  3. Listing a redirected, blocked, unauthorized, or missing image does not override HTTP behavior; sitemap validation should check the same production URLs users receive.

When Image Sitemaps matter

Publish one when important images are loaded dynamically or are otherwise difficult for search crawlers to discover. Keep page and image URLs canonical and accessible, because listing a blocked or missing resource does not make it retrievable.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free