Check whether Google can discover your campaign image

Inspect the rendered markup and image URL, then check what Google can render and crawl.

Asset preparation3 min read

Your campaign page looks right: the serum bottle is visible, the headline is in place, and the image loads in your browser. That does not tell you how the image is embedded. If the bottle exists only as a CSS background, Google says it does not index CSS images. For an image you want people to find, check the rendered element and the actual file URL, not just the pixels on the page.

Replace the background-only image

This constructed example displays the bottle but provides it only through CSS:

HTML
<div class="campaign-image" style="background-image: url('/images/night-serum.webp')"></div>

Use an image element for meaningful campaign artwork instead. The path and copy below are examples; use the real asset and description from your campaign:

HTML
<figure>
  <img src="/images/night-serum.webp" alt="Night Serum bottle against a violet backdrop">
  <figcaption>Night Serum campaign artwork</figcaption>
</figure>

The caption is useful when it adds context for a reader; it is not a required SEO label. Keep decorative backgrounds in CSS. For meaningful images, Google's image guidance identifies img's src as the discovery path, including an img inside picture. Responsive sources are fine; retain a usable src. Describe the image accurately in alt, rather than stuffing it with search terms.

Replay the published page

  1. Open the actual campaign page and inspect the image in browser developer tools. In Elements, find the rendered img, not merely the source template. Note its src and, if present, the selected currentSrc in the console ($0.currentSrc with the image selected). Resolve relative paths against the page URL. Open that actual URL in a fresh tab and check that it returns the intended image without a sign-in or an error. If a CDN serves it, check that URL too.
  2. Look at the visible page around the image. Does nearby text explain the actual product or campaign, and does the image match it? A file name or alt text cannot replace useful context for the reader. Google's developer guide recommends textual context for visual content.
  3. In Search Console, inspect the page URL, run the live test, and examine the rendered HTML and screenshot. Find the img and its src; check that the visible context appears as expected. A local browser inspection alone does not prove what Google can render. If the image is lazy-loaded, make sure it loads when visible without requiring a click or scroll; Google documents that it does not interact with the page.
  4. Check the page and image for crawl restrictions, including robots rules for the image host, and check the page's indexing directives. Use the URL Inspection tool for Google's view of the page and investigate any resource-loading errors it reports. A successful image URL in your browser does not by itself prove Googlebot can fetch it.

If you use the URL Inspection API, its response describes the indexed version. Compare lastCrawlTime with the time you changed the image. “URL is unknown to Google” leaves the current page markup untested. Use the live test in Search Console for today’s rendered HTML.

After a fix, repeat the inspection on the deployed page and its actual image URL. An image sitemap can help Google discover URLs it might otherwise miss, but it does not replace the page and access checks. Discovery and eligibility are not a promise that Google will index the image or show it for a particular search.

Image tools
All guides
Check whether Google can discover your campaign image | Formatry Media — Formatry