# Adding Images to your Sitemaps

> [!IMPORTANT]
> It's been a while since we published this blog post. Some of the information may be outdated (for example, some images may be missing, and some links may not work anymore). Check out our [current documentation on image sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/image-sitemaps).

Wednesday, April 07, 2010


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
[our documentation](https://developers.google.com/search/docs/crawling-indexing/sitemaps/image-sitemaps) 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>https://example.com/sample.html</loc>
      <image:image>
        <image:loc>https://example.com/image.jpg</image:loc>
      </image:image>
    </url>
  </urlset>
```


We index billions of images and see hundreds of millions of image-related queries each day. To
take advantage of that traffic most effectively, take a moment to update your Sitemap file with
information on the images from your site. Let us know in the
[Sitemaps forum](https://support.google.com/webmasters/community/label?lid=401d0e67c19e20e9&hl=en)
if you have any questions.

Posted by Alkis Evlogimenos, Software Engineer