When I search for images on my site, many images return the sitemap when clicked, as you can see here. The sitemap returns no errors in Google Search Console. Am I doing something wrong, or should I wait (for better indexing)?
I followed these instructions: https://support.google.com/webmasters/answer/178636?hl=en
3
Answers
It turned out I forgot the image namespace, I now use this:
So I changed this:
Into this:
Maybe the content of your XML isn’t properly scraped yet (because of earlier errors) and you have to wait…
For anyone else experiencing this issue that has the correct XML data in their sitemap – check that google hasn’t indexed your sitemap as a standard, human-readable page. This was the case for us, our sitemap was listed as any other page would be and as a result the images really were from that page, so the visit button linking to the sitemap was technically ‘correct’.