The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Why my images are not getting indexed, even though I have created image sitemap?

    Why my images are not getting indexed, even though I have created image sitemap?

    Technical SEO Issues
    10 3 1.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Obbserv
      Obbserv last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • DirkC
        DirkC last edited by

        The syntax of the sitemap is not correct - it should look like this:

         <code><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> 
           <image:image><image:loc>http://example.com/photo.jpg</image:loc></image:image> 
         </url> 
        </urlset></code> 
        

        Source: https://support.google.com/webmasters/answer/178636?hl=en

        In you sitemap all the url's are encapsulated by ![CDATA[ ...]] - this needs to be removed.

        Example:

        http://www.urbandazzle.com/yorkshire-handled-mug-with-chalkboard.html]]>rgds,Dirk

        Obbserv 1 Reply Last reply Reply Quote 0
        • DirkC
          DirkC last edited by

          Apart from the syntax issue - the image also needs to be present on the page. If I take the first page in your sitemap: http://www.urbandazzle.com/yorkshire-handled-mug-with-chalkboard.html - the image you list in the imagesitemap doesn't exist in the source  (http://www.urbandazzle.com/media/catalog/product/c/h/chalkit.jpg) - instead the page is referencing the image http://www.urbandazzle.com/media/catalog/product/cache/1/image/800x800/c7ea75a76d63a5bd57bd6d87127c28c4/c/h/chalkit.jpg (in fact - the same image seems to be called on different url's). In your sitemap you can only list images that exist on the page.

          RuthBurrReedy 1 Reply Last reply Reply Quote 0
          • Obbserv
            Obbserv @DirkC last edited by

            As per our Developer

            "<" and "&". Also we are using caching on website. So we can't use  these cached images in image sitemap.
            
            DirkC 1 Reply Last reply Reply Quote 0
            • DirkC
              DirkC @Obbserv last edited by

              Sorry - my mistake - we always escape the special characters - but cdata is also a valid approach.

              Don't know how the caching mechanism on your site works but normally in the sitemap you should put the images that are available on the page.

              Did you test the sitemap in Webmastertools?

              Obbserv 1 Reply Last reply Reply Quote 0
              • Obbserv
                Obbserv @DirkC last edited by

                Yes we have tested the image sitemap

                There is no error as per webmaster but still our images are not getting indexed

                DirkC 1 Reply Last reply Reply Quote 0
                • DirkC
                  DirkC @Obbserv last edited by

                  Is it possible to generate your image sitemap with the cached versions of the images that are actually used on the pages - or not to use the caching for images, and use the "normal" versions instead.

                  I think that the main reason why the images are not indexed is that in your site map you tell Google that on page xyz.html there is an image abc.jpg - but Google bot is unable to find abc.jpg on the page as it is the image fkkflmskgmlkdf.jpg which is used on the page.

                  1 Reply Last reply Reply Quote 0
                  • RuthBurrReedy
                    RuthBurrReedy @DirkC last edited by

                    DC1611 is correct - an image sitemap will not help your images get indexed if they are not present on the page the sitemap says they are. Have you tried running Screaming Frog or a similar crawl tool on your site, to see which images are discoverable by a crawler? A sitemap on its own is not enough to get your images reliably indexed - a crawler has to be able to find them naturally, when it crawls your site, as well.

                    Obbserv 1 Reply Last reply Reply Quote 0
                    • Obbserv
                      Obbserv @RuthBurrReedy last edited by

                      Hey Ruth,

                      Still it is not getting indexed.

                      Please help

                      1 Reply Last reply Reply Quote 0
                      • DirkC
                        DirkC last edited by

                        Ravi,

                        Sorry to tell you the same message again - the problem is not that your images are not getting indexed. They are indexed, as you can check on site:www.urbandazzle.com/ (put on tab Images).

                        The goal of the sitemap is to help Google discover images as they are published o****n your site. The images you list in the sitemap do not exist on the site on the url you provide in the sitemap (see example above) . As long as there is a mismatch - Google will continue to show that 0% of these images are indexed, which technically is correct.

                        If you want to use the sitemap to see the % of images that is indexed - you'll need to change the (url of the) pictures used on the site or to replace the (url of the) images in the sitemap by the correct images.

                        rgds,

                        Dirk

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Why images are not getting indexed and showing in Google webmaster
                          21centuryweb
                          21centuryweb
                          0
                          6
                          2.1k

                        • Technical guide for Setting up a CDN to host our images, as well as creating an image sitemap, and setting up the CDN in GWT?
                          DmitriiK
                          DmitriiK
                          0
                          4
                          128

                        • Sill cant seem to get images indexed by Goolge
                          AlanMosley
                          AlanMosley
                          0
                          2
                          81

                        • Why are my URL's with a trailing slash still getting indexed even though they are redirected in the .htaccess file?
                          irvingw
                          irvingw
                          0
                          3
                          288

                        • How could i create sitemap with 1000 page and should i update sitemap frequently?
                          magician
                          magician
                          0
                          4
                          841

                        • Any idea why our sitemap images aren't indexed?
                          CommercePundit
                          CommercePundit
                          0
                          5
                          1.1k

                        • Submitting Sitemap File vs Sitemap Index File
                          AU-SEO
                          AU-SEO
                          0
                          5
                          1.4k

                        • Getting a Video Sitemap Indexed
                          bozzie311
                          bozzie311
                          0
                          2
                          670

                        Get started with Moz Pro!

                        Unlock the power of advanced SEO tools and data-driven insights.

                        Start my free trial
                        Products
                        • Moz Pro
                        • Moz Local
                        • Moz API
                        • Moz Data
                        • STAT
                        • Product Updates
                        Moz Solutions
                        • SMB Solutions
                        • Agency Solutions
                        • Enterprise Solutions
                        • Digital Marketers
                        Free SEO Tools
                        • Domain Authority Checker
                        • Link Explorer
                        • Keyword Explorer
                        • Competitive Research
                        • Brand Authority Checker
                        • Local Citation Checker
                        • MozBar Extension
                        • MozCast
                        Resources
                        • Blog
                        • SEO Learning Center
                        • Help Hub
                        • Beginner's Guide to SEO
                        • How-to Guides
                        • Moz Academy
                        • API Docs
                        About Moz
                        • About
                        • Team
                        • Careers
                        • Contact
                        Why Moz
                        • Case Studies
                        • Testimonials
                        Get Involved
                        • Become an Affiliate
                        • MozCon
                        • Webinars
                        • Practical Marketer Series
                        • MozPod
                        Connect with us

                        Contact the Help team

                        Join our newsletter
                        Moz logo
                        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy