Manage your sitemaps
You can use a separate sitemap to list images, or you can add image information to an existing sitemap. The following example shows a sitemap entry for the page
http://example.com/sample.html, which contains two images.
<?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>http://example.com/sample.html</loc> <image:image> <image:loc>http://example.com/image.jpg</image:loc> </image:image> <image:image> <image:loc>http://example.com/photo.jpg</image:loc> </image:image> </url> </urlset>
You can list up to 1,000 images for each page, using the syntax outline in the example above!
Image tag definitions
||Yes||Encloses all information about a single image. Each
||Yes||The URL of the image.
In some cases, the image URL may not be on the same domain as your main site. This is fine, as long as both domains are verified in Search Console. If, for example, you use a content delivery network such as Google Sites to host your images, make sure that the hosting site is verified in Search Console. In addition, make sure that your robots.txt file doesn’t disallow the crawling of any content you want indexed.
||Optional||The caption of the image.|
||Optional||The geographic location of the image. For example,
||Optional||The title of the image.|
||Optional||A URL to the license of the image.|