On this page
What this issue is
A standard XML sitemap lists page URLs. Google also supports sitemap extensions that add details about media on those pages. There are three: image (image URLs for a page), video (video title, description, thumbnail and file or player URL) and news (articles published in the last two days, for sites accepted in Google News).
Why it costs you leads or sales
If your products, recipes, portfolio or tutorials are found through Google Images or video results, missing media can mean missed visits. Common cases where discovery fails: images loaded by JavaScript or CSS backgrounds, galleries and sliders, videos in third-party players, and news articles that need to appear quickly.
- Product page liveGallery images load by JavaScript
- Crawler visitsMay not see script-loaded images
- Image indexedNot found, no sitemap hint
- Image search visitNever happens
The image loads by script, so the crawler may never see it and no media sitemap points to it.
How to check if your site has it
Decide if media matters to you
In Google Search Console, open Performance, then Search results, and use the Search type filter to compare Web, Image, Video and News. If Image or Video already bring visits, or should, a sitemap is worth adding.
Open your sitemap
Go to yoursite.com/sitemap.xml or sitemap_index.xml. Check robots.txt for a Sitemap: line if you cannot find it.
Look for extension tags
View source and search for image:image, video:video or news:news. Child sitemaps may be named like image-sitemap.xml or video-sitemap.xml.
Check Search Console
Open Indexing, then Sitemaps. See whether any media sitemap is submitted and whether it shows Success.
Test a key page
Use the URL Inspection tool, then View crawled page, and check whether your important images and videos appear in the rendered HTML.
| Type | Worth adding when | Usually skip when |
|---|---|---|
| Image | Photos or products are a traffic source and images load by script or sliders | Images are plain img tags on crawlable pages and bring little search traffic |
| Video | You host videos on your own pages and want them in video results | Videos are only embedded from YouTube and you do not need them on your own pages |
| News | You are a news publisher approved for Google News | You run a normal blog or company site |
How to fix it
Pick only the types you need. Many platforms already add image data to the main sitemap, so check before building anything new.
Use your SEO plugin
Yoast SEO, Rank Math and similar plugins add images to page entries in their sitemaps. Rank Math has a Video Sitemap and News Sitemap in its Sitemap Settings. Menu names vary by plugin version.
Run only one sitemap plugin
Two plugins creating sitemaps cause duplicates. Turn off the other one's sitemap.
Submit the new file
Add the sitemap URL in Search Console under Sitemaps.
Rely on the built-in sitemap
Shopify generates /sitemap.xml automatically and includes product images in the product sitemap. You cannot edit the file.
Make images crawlable
Use the theme's standard product image output with alt text, rather than images set only by script.
Turn on the auto sitemap
In Site settings, open SEO and enable Auto-generate sitemap. Webflow lists pages but does not create dedicated image or video sitemaps.
Add a custom file if needed
For a video sitemap, host a hand-written XML file elsewhere on your own domain and submit it in Search Console, or use a custom sitemap in the same SEO settings if your plan allows.
Generate the XML
Build the file from your database or CMS using the extension namespaces shown in the code below.
Reference it
List it in robots.txt with a Sitemap: line and in your sitemap index.
Submit it
Add it in Search Console and Bing Webmaster Tools.
<?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"
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>https://www.example.com/products/blue-chair</loc>
<image:image>
<image:loc>https://www.example.com/images/blue-chair.jpg</image:loc>
</image:image>
<video:video>
<video:thumbnail_loc>https://www.example.com/thumbs/chair.jpg</video:thumbnail_loc>
<video:title>Blue chair assembly</video:title>
<video:description>How to assemble the blue chair in five minutes.</video:description>
<video:content_loc>https://www.example.com/videos/chair.mp4</video:content_loc>
</video:video>
</url>
</urlset>No media sitemap
- Script-loaded images are not listed anywhere
- Videos have no title or thumbnail hint
- Search Console shows no media sitemap
Media sitemap in place
- Image and video URLs listed beside their pages
- Video title, description and thumbnail supplied
- Sitemap submitted and showing Success
How to confirm it's fixed
- The sitemap URL opens and shows valid XML with the right namespaces
- Image and video URLs return 200 and are not blocked in robots.txt
- Search Console, Indexing, Sitemaps shows the file with status Success
- The URL Inspection tool shows media in the rendered page
- After some days or weeks, Search Console shows Image or Video impressions where relevant
How to prevent it happening again
- Review sitemaps after a theme, plugin or platform change
- Keep image files on a domain crawlers can reach, and do not block them in robots.txt
- Give every video a title, description and thumbnail when you publish it
- Re-check Search Console, Sitemaps, every quarter for errors
- Remove old URLs when media is deleted
How FunnelGuard handles this
FunnelGuard does not check this yet. A media sitemap check is a possible future addition. FunnelGuard is built to watch your marketing funnels: it runs real customer journeys such as lead forms, checkouts and booking buttons, checks tracking hits and test leads, and sends one alert when a step fails.
Questions people ask
Do I need an image sitemap?
Usually not. Google finds most images through normal HTML. An image sitemap helps when images load by JavaScript, sit in galleries or sliders, or when image search brings you meaningful traffic.
What is the difference between a video sitemap and video markup?
A video sitemap lists videos in an XML file. Video structured data (VideoObject) sits on the page itself. Both give Google details such as title, description and thumbnail, and they work well together.
Do I need a news sitemap for my blog?
No. A news sitemap is for publishers approved for Google News and should list only articles from roughly the last two days. A normal blog is covered by the standard sitemap.
Why is my image sitemap not showing in Search Console?
Check that you submitted the exact URL under Indexing, then Sitemaps. Also confirm the file returns 200, is valid XML and uses the right namespace. A file that is not submitted or is blocked will not appear.
How do I add images to my sitemap in WordPress?
Most SEO plugins such as Yoast SEO and Rank Math include images in page entries of their sitemap. Check your plugin's sitemap settings and view the sitemap source for image:image tags.
Does Shopify create an image sitemap?
Shopify's automatic sitemap.xml includes product images within product entries. You cannot edit the file, so focus on crawlable images with good alt text.
Can I put image and video tags in my main sitemap?
Yes. Add the image and video namespaces to the urlset tag and nest the media tags inside each url entry. Separate media sitemap files are optional.
Does FunnelGuard check for missing image or video sitemaps?
No, not yet. It is a possible future check. Today you can review Search Console, Sitemaps, by hand or use a site crawler.
Related issues
- SEO-099No XML sitemapFix guide
- SEO-101Sitemap not submitted in Search Console / Bing WebmasterFix guide
- SEO-103Sitemap XML invalid or wrong namespaceFix guide
- SEO-104Sitemap stale: new pages missingFix guide
- SEO-110Money pages missing from the sitemapFix guide
- SEO-113Plugin generates duplicate sitemaps (Yoast plus Rank Math)Fix guide