Why search engines may miss your photos
A crawler finds images the way it finds pages: it opens a URL and reads the code. If a photo sits in a plain img tag on a normal, open page, it usually gets discovered without help. Trouble starts when the file is not visible in the code: a script loads the photo, the gallery opens only after a click, a slider builds itself later, or the files live on another domain.
In those cases the sitemap tells the search engine directly: here is the file, and it appears on this page. That is a hint, not a promise. Whether a photo ranks in image search depends on other things, covered below.
Who actually benefits
Image search is worth the effort where people choose with their eyes first and visit the website second.
- Furniture, tile, clothing and plumbing stores with large catalogs
- Renovation and interior design studios with project portfolios
- Developers showing floor plans and visualisations
- Restaurants and banquet halls, where photos of the room and dishes drive decisions
- Photographers and landscape studios, where the image is the product
What an image sitemap looks like
A separate file is not required. You add images inside the page entry of your regular sitemap by declaring the image namespace. Inside the url block, next to loc, goes a nested image:image block with the file address: <image:image><image:loc>https://example.uz/img/white-kitchen.jpg</image:loc></image:image>. One page can list several images.
Google no longer uses extra fields such as caption and title, so the file URL alone is enough. Put the description on the page itself, next to the photo and in the surrounding text.
On WordPress or a ready-made CMS, an SEO plugin often handles this automatically. On a custom site, the addresses are pulled from the database when the sitemap is generated. When a product is deleted, its images should disappear from the sitemap too.
What matters more than the sitemap
A sitemap helps a crawler find a file, but it does not explain which search the file should answer. Other factors do that, so start with them.
- The image is placed with an img tag, not only as a CSS background
- The alt text briefly and honestly describes what is in the photo
- The file name is meaningful: corner-sofa-grey.jpg, not IMG_4521.jpg
- There is a heading or relevant text near the picture
- The file is not several megabytes, which slows mobile pages, especially on weak connections outside the capital
- The page itself is indexed
CDN images and common mistakes
If files are served from a subdomain or a content delivery service, you can still list their URLs in the main site's sitemap. Check that the robots.txt of that domain does not block crawling: a forgotten Disallow rule is a frequent reason images never show up. For Google, it also helps to verify that domain in Search Console.
A few other traps: thumbnails listed instead of the originals; URLs returning 404 because files moved during a hosting change; logos, icons and banners that repeat on hundreds of pages added to the list. These only clutter the sitemap.
How to check whether it works
In Search Console, open the performance report and switch the search type to images. You will see impressions and clicks that come specifically from image search. Compare the periods before and after your changes, and give search engines a few weeks rather than a few days. If there is no data at all, check that files return status 200 and that the uploads folder is not blocked in robots.txt.
For Yandex, watch visits from image search in your analytics. If your customers mostly arrive from Instagram, Telegram or marketplaces such as Uzum, image search may not be your main channel yet, and other work could come first.
Where to start
The order is simple: file names, alt text and proper image markup first, then file size, and only then the sitemap, if galleries load through scripts or there are very many photos. That way you do not spend time on a tool that does not solve your problem.
If you want to see where your site loses search traffic, the markdev team can run an audit and tell you whether a separate image sitemap is worth it. Describe your task and we will look together at where to begin with SEO optimisation in Uzbekistan.
FAQ
Do I need a separate file for an image sitemap?
No. You can add images inside the relevant page entry of your existing sitemap. A separate file only makes sense if the site is large and you prefer to split the sitemap into parts.
Will a sitemap help if my images have no alt text and numeric file names?
Barely. The search engine will find the files but will not understand which queries they fit. Fix file names, alt text and nearby copy first.
Which images should stay out of the sitemap?
Logos, icons, decorative elements, banners and background textures. They repeat across many pages and add nothing for image search.
How do I know image search brings customers?
Open the performance report in Search Console, choose the image search type and look at impressions and clicks. For Yandex, check visits from image search in your analytics.
Let’s look at your task for free
Leave your contact — in a 15-minute call we’ll show where leads get lost and what to fix first.