Google’s New Post On Their Webmaster’s Blog Clearly Gives An Idea On How To Add Images To A Normal Sitemap.
Read The Post:
Sitemaps Are An Invaluable Resource For Search Engines. They Can Highlight The Important Content On A Site And Allow Crawlers To Quickly Discover It. Images Are An Important Element Of Many Sites And Search Engines Could Equally Benefit From Knowing Which Images You Consider Important. This Is Particularly True For Images That Are Only Accessible Via Javascript Forms, Or For Pages That Contain Many Images But Only Some Of Which Are Integral To The Page Content.

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 Webmaster Tools Help Center Or Refer To The Example Below:

<?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>
</url>
</urlset>

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here