Sitemaps are an invaluable resource for search engines, and an important part of a website. They allow search engines to discover contents on a site that would otherwise be impossible to locate, hidden among hundreds and thousands of pages. Along with text content another important element of the web most webmasters ignore are images.
In the following example, a Sitemap entry for the URL http://example.com/sample.html is shown which contains two images.
You can add up to 1000 images for each page.
The following table describes the different tags used in the sitemap code.
| ||Yes||Encloses all information about a single image. Each URL (<loc> tag) can include up to 1,000 <image:image> tags.|
| ||Yes||The URL of the image.|
| ||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.|