DELTAWEB
All posts
Technical SEO

Indexing Multilingual Product Images with an Image Sitemap

Shared product photos, localised alt text and file names, image sitemaps versus page markup, CDN image hosts and Search Console checks, laid out in tables.

Indexing Multilingual Product Images with an Image Sitemap
12 minReading time
Arif KuruAuthor

An image sitemap is an XML map that tells search engines which images each page of a site contains: under every page address, it lists the addresses of the image files used on that page. A regular XML sitemap says "these pages exist"; an image sitemap adds "this page contains these images". On a multilingual export website this distinction raises more questions than it first appears to, because the same product photo is reused across the Turkish, English and German pages. This article covers the image side of our main guide to crawling, indexing and rendering on multilingual sites: what each tag does, what to localise per language and what to look at in Search Console, laid out in tables.

What an image sitemap does

Search engines usually find images by crawling a page and reading the img elements in its HTML. If an image sits on the page in a standard img element, in most cases no separate map is needed. The places where an image sitemap adds value are narrower: galleries whose images load later through JavaScript, large product photos that open on click, files hosted on another domain (a CDN), and catalogues with so many product pages that crawling does not reach each one equally.

In other words, an image sitemap is a discovery aid, not a ranking tool. The sitemap does not decide whether an image appears in Google Images; the quality of the page it sits on, its context on that page, its alt text and the technical state of the file do. The sitemap only says "do not miss this file".

Tags and current support

An image sitemap is written by adding a namespace defined by Google to the standard sitemap protocol. For a long time that namespace also held extra tags such as title, caption, location and licence. In 2022 Google announced that it no longer uses most of these extra tags; the core structure that still matters in practice is shown below. Because tag support can change, check the official source, Google Search Central's image sitemap documentation, for the current state.

TagPurposeOn a multilingual site
urlset (with image namespace)Root element; declares the image namespaceThe xhtml namespace for hreflang can be declared on the same root
url / locAddress of the page where the image is usedEach language version is a separate url entry
image:imageContainer representing one image on the pageOne page entry can hold several
image:locFull address of the image fileCan be a CDN domain; language versions can point to the same file
image:caption, image:titleUsed to carry a caption and titleAnnounced as no longer used by Google; localise on the page instead
image:license, image:geo_locationLicence and location informationStructured data and on-page information are preferred for licensing

The key consequence of this table is simple: localisation does not happen inside the image sitemap. Many teams used to write a separate caption per language and consider the job done. Today the only meaningful information left in the sitemap is the file address; language-specific signals are carried on the page itself, in the alt text, the figure caption and the surrounding copy.

Shared product photos

The typical situation on exporter sites is this: a product has six photos, and those photos are used unchanged across five language versions. Two approaches are possible here, and both have sound reasons behind them.

One file for all languages

The same image file is used on every language page under the same address. Caching is efficient, storage and management are simple, and the CDN keeps a single copy. In the image sitemap, the same image:loc address repeats under each language page's entry. That is not an error; it is the natural way to state that one image appears on several pages.

Separate files per language

A separate copy with a localised file name is produced for each language, for example stainless-steel-valve on the English page and edelstahl-ventil on the German page. The file name carries a small context signal, but storage and cache costs rise, and when a product photo is updated every copy has to be refreshed. If the image contains text (dimension labels, technical notes, banner copy), separate files become necessary anyway.

SituationRecommended approachReason
Product photo without textOne fileThe page and alt text carry the context; duplicating copies adds little
Technical image with dimensions or labelsSeparate file per languageText inside the image should be in the reader's language
Campaign or trade fair bannerSeparate file per languageCopy and message change by market
Certificate and document scansOne file, caption per languageThe document itself does not change; the description is localised
Factory and facility photosOne fileUniversal content; the figure caption is written per language

The choice between localised file names and shared files, writing alt text and localising text inside images are covered in detail in our guide to localising alt text and file names for multilingual image SEO. The focus here is how those decisions show up in the sitemap.

A minimal gallery of unframed photos hung at even intervals on a white wall
Photo: cottonbro studio / Pexels

What to localise per language

Once we accept that the sitemap carries no localisation, the work moves to the page layer. The table below summarises what to do per language for each element around a product image.

ElementWhere it livesPer-language task
Alt textThe alt attribute of the img elementRewrite it in that language rather than translate it; describe what is visible and the product type
Figure captionfigcaptionUse the market's terminology; match units of measurement to the market
Surrounding copyParagraphs and headings near the imageKeep the sentence about the image right next to it
File nameImage addressIf separate files were chosen, in that language, hyphenated, ASCII characters
Text inside the imageThe file itselfReproduce it as a separate file
Structured dataProduct or ImageObject markupName and description fields in the page's language
Page addressloc in the sitemapEach language has its own URL, linked through hreflang

A common alt text mistake is running the Turkish text through machine translation and using the output as is. Even if the German for "stainless steel ball valve, flanged connection" is technically correct, the term a German buyer types into a search box may be different. When alt text is written in the search language of that market, the image and the page support each other.

Image sitemap versus page markup

The sitemap is not the only way to pass image information. The page HTML and structured data cover the same ground from different angles. Knowing which layer carries what prevents unnecessary work and conflicting signals.

LayerWhat it carriesStrengthLimit
HTML img elementFile address, alt text, dimensionsPrimary discovery path; context lives on the pageMay be delayed for images loaded later by JavaScript
Image sitemapThe relationship between a page and an image fileDiscovery of gallery, lightbox and CDN filesCarries no language-specific context
Product / ImageObject markupWhich product the image belongs to, licence detailsRich result eligibility and product relationshipMust match the content visible on the page
Open Graph imageShare previewSocial network and messaging previewsLimited direct contribution to the search index

The practical rule is simple: if the image sits on the page in a standard img element with meaningful alt text, the basic work is done. The image sitemap is added on top of that foundation to make discovery reliable. An image listed in the sitemap but never shown on the page is an inconsistent signal; the sitemap and the page should describe the same reality.

In the same file as hreflang

The image namespace and the xhtml namespace used for hreflang can sit together in the same sitemap file. Each url entry then carries both its language alternates and its images. Because one generation script manages this structure, consistency is easier to keep. The hreflang syntax and x-default usage are explained in our guide to implementing hreflang via XML sitemaps. As the file grows, moving images into a separate sitemap is also a valid choice; the decision between the two is a matter of maintenance, not a technical requirement.

CDN image hosts

Hosting product images on a separate subdomain, such as an address starting with cdn, or on an image optimisation service is common. Google's documentation states that the image:loc address may be on a different domain from the main site. Even so, a few points need checking in this setup.

  • robots.txt access: the CDN domain's own robots.txt must not block the image crawler. Permission on the main site does not cover the CDN.
  • Content-Type header: files must be served with the correct Content-Type. If a WebP or AVIF file is returned as plain text, neither browsers nor search engines may be able to process it.
  • Stable addresses: if query parameters that change with every deployment are appended to image addresses, the sitemap goes stale constantly. If you need versioning, keep the address stable for long periods.
  • Resizing parameters: if dozens of size variants exist for one image, list only the largest and most representative version in the sitemap.
  • Search Console verification: verifying the CDN domain as a property as well can make crawl problems easier to see. Whether it is needed, check the official source for the current state.

A configuration error on the CDN affects images in every language version at once. The efficiency of the shared-file approach turns against you here: one wrong header means invisible images in five languages simultaneously. After any CDN change, check the images on one sample page per language.

Close-up of a vintage camera in low light with its lens and body details picked out
Photo: dlxmedia.hu / Pexels

Sitemap generation rules

An image sitemap is not a file to write by hand; it should be generated automatically by the content management system or the build process. The rules below prevent errors that come up often in multilingual catalogues.

RuleWhy
List only indexable pagesImages on noindex pages or pages that canonicalise elsewhere are listed for nothing
Write each language page as its own entryAn image should be listed under the page where it appears
Escape special charactersIf the & in an address is not written as & inside the XML, the file breaks
Respect file and image limitsThere are limits on URLs and file size per sitemap and on images per entry; see the official documentation for the values
Leave out icons and decorative imagesLogos, icons and background patterns carry no search value
Skip untranslated language pagesEmpty language pages send a thin content signal

The escaping rule looks minor but causes the most trouble in practice. Addresses from image services usually carry size and quality parameters; if the & between those parameters is written to XML unescaped, the sitemap becomes unreadable and every page in it is affected. Adding an XML validation step to the generation script catches this error before it goes live.

If you want images discovered quickly when a new language version launches, the sitemap has to be updated at the same moment as the launch. The rest of that process is explained step by step in our article on getting a new language version indexed quickly.

What to check in Search Console

Once the image sitemap is submitted, read the results with caution. The Search Console interface and its reports change from time to time; the checks below are a general framework, and for report names and details check the official source for the current state.

CheckWhere to lookHow to read it
Was the sitemap readSitemaps reportIf there is an error, check XML syntax and unescaped characters first
Number of discovered pagesSitemap detailsRoughly in line with the number of pages submitted
Traffic from image searchPerformance report, search type filterFilter by language folder and track markets separately
Images on a single pageURL Inspection, rendered page viewDoes the image appear in the rendered HTML
Access to CDN filesCrawl stats or the CDN propertyAny blocking or server errors on image files

Image indexing can move more slowly and more selectively than page indexing. Do not expect every image listed in the sitemap to be indexed. What matters is which language versions show rising impressions from image search over time and which show no movement at all. For a language version with no movement, first check whether the pages themselves are indexed; an image problem is often a reflection of a page problem.

Reading the report numbers

The numbers in the sitemaps report and the image impressions in the performance report measure different things. The first tells you whether the file was read; the second tells you how often images appear in search. Reading one as proof of the other is misleading. Part of image search traffic may also come from surfaces other than Google Images; confirm what each search type filter covers on the official help page.

Order of implementation

When starting image sitemap work on a multilingual catalogue, this order reduces rework:

  1. Build an image inventory: which images have no text and which need separate files per language.
  2. Confirm that images on each language page sit in standard img elements with alt text written in that language.
  3. Check the CDN domain for robots.txt access, Content-Type headers and address stability.
  4. Automate sitemap generation; include only indexable, translated pages.
  5. Add XML validation and character escaping checks to the generation script.
  6. Submit the sitemap in Search Console and start monitoring by language folder.

If you also have product videos, the same logic continues on the video side with different tags; the details are in our article on multilingual video sitemaps and schema. On the image side there is a single test: a sitemap can only make an image easier to find when the page already describes it correctly. Ask yourself this: if your sitemap were deleted tomorrow, could each language's product images still be found and understood from the pages themselves?

FAQ

Frequently Asked Questions

  • Do I need an image sitemap if images sit on the page in img elements?

    In most cases it is not required, because search engines find standard img elements by crawling. An image sitemap makes discovery reliable for galleries loaded by JavaScript, large photos that open on click and files hosted on a CDN. On large catalogues it is useful as an extra safety layer.

  • Is it a mistake to list the same image under every language page?

    No, if one image is used on several pages it is natural to list it under each page's entry. An image should appear under the page where it is used. This repetition does not create a duplicate content problem.

  • Does writing a caption per language in image:caption help?

    Google announced in 2022 that it no longer uses these extra tags; check the official source for the current state. Provide language-specific descriptions in the alt text, figcaption and surrounding copy on the page. The meaningful information left in the sitemap is essentially the file address.

  • Should product photos get a separate file name per language?

    If the image contains no text, one file is usually enough, because the page and alt text carry the context. If it contains dimensions, labels or banner copy, separate files per language are needed. Weigh storage, caching and update effort when you decide.

  • Can I list images hosted on a CDN in an image sitemap?

    Google's documentation states that the image:loc address can be on a different domain. The CDN domain's robots.txt must not block the image crawler, and files must be served with the correct Content-Type. Verifying the CDN property in Search Console can make crawl problems easier to spot.

  • Can hreflang and images live in the same sitemap file?

    Yes, the image namespace and the xhtml namespace used for hreflang can coexist in one file. Each url entry then carries both its language alternates and its images. Moving images into a separate sitemap as the file grows is also a valid maintenance choice.

  • Should I expect every image in the sitemap to be indexed?

    No, image indexing can be more selective than page indexing. The sitemap only makes discovery easier; it does not decide indexing. Tracking how image search impressions change per language version over time is more meaningful.

  • Why might Search Console fail to read my image sitemap?

    The most common cause is an & in image addresses written into the XML without escaping. Syntax errors, unreachable file addresses and exceeded limits are other possible causes. Adding an XML validation step to the generation script catches these before they go live.

Related Articles

No comments yet

Leave a Comment