hi, i’m amr. most b2b sites i open put their product screenshots, team photos and diagrams in places google can’t read, then wonder why image search sends nothing. google’s image seo best practices page is short and specific about what it can and can’t use.
what google says, in its own words
- “Google doesn’t index CSS images.” the page’s bad example is an image set as a background-image on a div
- “The most important attribute when it comes to providing more metadata for an image is the alt text”
- alt text also helps accessibility, and when an image is a link, its alt text works as the anchor text. google warns against stuffing keywords into alt attributes
- for inline SVG, google says to use a <title> element instead of alt
- filenames should be short and descriptive. the page contrasts my-new-black-kitten.jpg with IMG00023.JPG, and says to avoid generic names like image1.jpg
- google takes subject-matter information from the page around the image, including captions and image titles, so place images near relevant text
- supported formats in the img src attribute: BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, and the file extension should match the real file type
- with srcset or <picture>, “We recommend that you always specify a fallback URL using the src attribute”
- an image sitemap can list images google might not otherwise find, including urls on another domain such as a cdn
- “Consistently reference the image with the same URL, so that Google can cache and reuse the image”
- for the preview image, google points to primaryImageOfPage, image on the main entity, or og:image, but says the selection is “completely automated”
the page doesn’t cover lazy loading, file size or dimension limits, or how long indexing takes. it doesn’t promise traffic from any of this.
my reading, not google’s wording: if a diagram carries the point of your page, it should be a real img element with alt text and a caption near the paragraph it explains. a css background is fine for decoration, not for content you want found.
what to check this week
- pick your five most important pages and list the images that carry information: screenshots, charts, diagrams, product shots
- inspect each one in the browser. if it is a background-image in css, it isn’t indexed by google’s own statement
- write alt text that describes the image in a plain sentence. no keyword lists
- rename files that look like IMG00023.JPG or image1.png before you upload the next batch
- check that the image sits next to the text it supports, ideally with a caption
- if your theme uses srcset or <picture>, confirm the src fallback is there
- if your images live on a cdn, look at whether your sitemap lists them. my earlier post on sitemaps covers the fields google reads
where this stops applying
decorative images don’t need any of this. and the page gives no ranking promise, so treat it as making your images eligible to be understood, not as a traffic plan. i haven’t audited any site for this post.
start scaling — if your site’s key visuals sit in css backgrounds or carry no alt text, a one-hour pass over your top pages will show which images google can’t read. let’s connect.
Sources: Google Search Central, “Google image SEO best practices” (developers.google.com/search/docs/appearance/google-images). Figures are published product documentation, not verified results from Amr’s own client accounts.