How are images added to Sitemap?


Generator allows to gather and add to the Sitemap file information on images*, located on your website pages. For URL-sections of each page, on which images will be found, corresponding information will be added, according to the Google Sitemap-Image protocol.
Next example shows part of the record in Sitemap file for URL http://website.tld/sample.html, which has two images:
 <url>
   <loc>http://website.tld/sample.html</loc>
   <image:image>
     <image:loc>http://website.tld/logo.jpg</image:loc>
   </image:image>
   <image:image>
     <image:loc>http://website.tld/photo.jpg</image:loc>
   </image:image>
 </url>

* Only information on the images, located on the indexed website, is input into Sitemap. Images, pasted into webpages from other servers are not considered.