Image SEO beyond ALT text: file names, captions and context
Most advice on image SEO starts and ends with ALT text. Yet a photo uploaded as IMG_20240312_104512.jpg, placed in a CSS background, with no caption and no nearby text about it, has very little going for it even with a perfect ALT attribute. Google Images looks at the whole setting an image sits in. This article covers those other signals, so your product photos, project pictures and infographics have a real chance of being found.
Image search matters more than many owners assume for visual categories such as fashion, furniture, home décor, recipes, jewellery and interior projects, where people browse pictures before they visit sites.
How Google works out what an image shows
Google’s image documentation describes several sources it uses to understand images:
- The page’s content, title and headings
- Text near the image, including captions
- The ALT attribute
- The file name and URL path
- Structured data on the page, such as product markup
- Computer vision analysis of the image itself
No single item carries the load. Think of them as corroborating evidence: when the file name, caption, nearby paragraph and page topic all point the same way, Google can be confident about what the image is and which searches it suits.
Descriptive file names
Google calls file names a very light signal, but they cost nothing to get right and are hard to fix later, because renaming a published image changes its URL.
Rename before uploading
Phones and cameras produce names like DSC_0042.JPG. Rename files on your computer first, so the name is baked in when your CMS creates its copies.
Follow simple naming rules
- Lowercase words separated by hyphens: teak-wood-dining-table-6-seater.jpg
- Describe the subject, not your campaign: avoid final-banner-v3.jpg
- Keep it short; three to six words is usually plenty
- Use distinct names for different views: -front, -side, -detail
- Avoid spaces and special characters, which become encoded strings
For shops uploading hundreds of photos, a naming convention based on product code plus a short description keeps things consistent across staff.
Captions: the text people actually read
Captions are one of the most-read pieces of text on a page, because eyes naturally drop from an image to the line below it. They also sit right next to the image in the HTML, which makes them strong contextual text for search engines.
Use captions where they add information the image cannot show on its own:
- Project photos: "Living room renovation in a 3BHK flat, Whitefield, completed in six weeks"
- Before-and-after pairs: stating which is which and what changed
- Screenshots: what the reader should notice
- Charts: the source and period of the data
A caption should not simply repeat the ALT text. ALT describes the image for people who cannot see it; the caption adds context for everyone.
Surrounding text and placement on the page
Where an image sits matters. A photo of a brass diya placed beside a paragraph about handmade brass diyas is easy to interpret. The same photo in a generic gallery at the bottom of an unrelated page is not.
Put images near relevant text
Place each image close to the heading or paragraph it illustrates. On product pages, the main image near the product name, price and description is ideal.
Give important images a good home page
Google Images links to the page containing the image, so an image on a thin, low-quality page is less likely to surface. An image on a detailed product page or a useful guide has better prospects.
Mind the page title and headings
The page title often appears alongside image results. A clear, specific title reinforces what the image depicts and makes searchers more likely to click through.
Technical basics that images need to be indexed
Even well-described images can be missed if they are embedded in ways crawlers cannot follow:
- Use HTML img or picture elements for meaningful images. Google does not index images added only as CSS background images.
- Use supported formats such as JPEG, PNG, WebP, GIF, SVG or AVIF.
- Do not block image folders in robots.txt if you want those images to appear in search.
- Keep image URLs stable. URLs that change on every deploy or carry expiring tokens make it harder for Google to keep images indexed.
- Handle lazy loading carefully. Native loading="lazy" is fine; scripts that insert images only after scrolling may hide them from crawlers.
- Serve sensible sizes. Large, sharp images can be shown more prominently, while compression and responsive sizes keep pages fast.
Image sitemaps and structured data
Image sitemaps
You can list images for each page in your XML sitemap using the image extension, with an image location entry for each file. This helps Google discover images it might otherwise miss, such as those loaded by JavaScript galleries or hosted on a CDN domain. Many SEO plugins and e-commerce platforms add image entries automatically.
Structured data
Product, Recipe and Article structured data include image properties. Adding valid markup can make your page eligible for richer displays, where a product thumbnail, price or availability appears in results. Eligibility is not a guarantee, but images connected to accurate markup are easier for Google to associate with the right entity.
Tracking image search performance
Google Search Console’s Performance report has a search type filter. Switch it to "Image" to see queries, clicks and pages that come from Google Images. Useful questions to ask:
- Which pages earn image impressions, and do they match what you sell?
- Are there queries with many impressions but few clicks, suggesting a weak page title?
- Do important product categories show no image traffic at all, hinting at a technical block?
A practical routine for new images
Build these steps into every upload: rename the file, place the image near relevant text, write ALT text, add a caption where it helps, and check that it appears in the sitemap. Once this is routine it takes seconds per image. For stores with large catalogues, having the upload process enforce these fields is far easier than fixing thousands of images later, which is something we plan for in e-commerce website projects.
Frequently asked questions
Should I rename images that are already on my website?
Usually not for existing images that already appear in search, because renaming changes the URL. Apply better naming to new uploads, and only rename old images during a planned migration with redirects.
Do image dimensions affect image SEO?
Google recommends high-quality images, and very small thumbnails are less useful in image results. Balance quality with file size so pages still load quickly.
Can images hosted on a CDN rank in Google Images?
Yes. Images on a CDN or separate subdomain can be indexed normally, provided they are crawlable and linked from your pages or sitemap.
Does EXIF data from my camera help SEO?
There is no clear evidence that camera EXIF data helps rankings. Google can read some IPTC metadata for credit and licence details, which is useful for photographers but is not a ranking tactic.
We can do this for you
See what a package covers and what it costs, or ask us about your own project.

