Wednesday, April 07, 2010
Now you can use a Sitemaps extension to provide Google with exactly this information. For each URL you list in your Sitemap, you can add additional information about important images that exist on that page. You don't need to create a new Sitemap, you can just add information on images to the Sitemap you already use.
Adding images to your Sitemaps is easy. Simply follow the instructions in the our documentation or refer to the example below:
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="https://www.google.com/schemas/sitemap-image/1.1"> <url> <loc>https://example.com/sample.html</loc> <image:image> <image:loc>https://example.com/image.jpg</image:loc> </image:image> </url> </urlset>