Rendered <img> exists
- Why it matters
- Google can discover the image URL in HTML image markup
- How to verify
- Inspect rendered HTML or the browser DOM
Use the Next.js Image component without losing useful alt text, image URLs, or page context that helps Google discover and understand images.
Use next/image to serve responsive, optimized images, and write alt text that describes the image’s purpose in the page. Google can discover images through HTML <img> elements, but not CSS background images; keep a usable image URL and place it near relevant text. Optimization helps delivery, but it does not make an image relevant or guarantee image search visibility.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
alt is a required prop of the Next.js Image component, and Next.js documents it as describing the image for screen readers and search engines. Describe what a meaningful image shows in context; Google warns that stuffing alt with keywords gives a poor user experience and may be seen as spam. For decorative images, Next.js says to use an empty string (alt=""). Google also considers the surrounding page content and captions when interpreting an image.blue-trail-jacket-front.jpg instead of IMG_0042.jpg.import Image from 'next/image'
export function ProductPhoto() {
return (
<figure>
<Image
src="/products/blue-trail-jacket-front.jpg"
alt="Front view of the blue trail jacket with two chest pockets"
width={1200}
height={1500}
sizes="(max-width: 640px) 100vw, 50vw"
/>
<figcaption>Blue trail jacket, front view</figcaption>
</figure>
)
}Image can produce responsive variants and optimize supported local or remote sources. Set intrinsic dimensions or a supported sizing mode so the browser can reserve space, and provide sizes when the rendered width changes across breakpoints. Without sizes, the browser assumes the image is as wide as the viewport (100vw), which can download an unnecessarily large file. For remote images, configure narrow allowed host patterns in next.config.js. If migrating an existing image implementation, check the rendered src and srcset; changing URLs can trigger new crawls or break external links.<img> existsalt valuesrcset, sizes, and network requestssrc values after deploymentTreat the source image and the optimized response as separate checks. Confirm the Next.js image route returns an image with a successful status, and test remote host allowlists in production where the optimizer runs. If a third-party CDN already resizes images, compare output size and quality before optimizing twice.
src when using responsive image markup. If important images are otherwise hard to discover, an image sitemap can expose their URLs; it is an additional discovery path, not an indexing guarantee. In app/sitemap.ts, Next.js sitemap entries accept an images array of URLs for this. Google supports the formats listed in its current image documentation, including AVIF, WebP, JPEG, PNG, GIF, SVG, and BMP.For related work, see Next.js SEO, alt text, and image SEO.
3 questions people ask next, answered from the sources on this page.
It can improve image delivery with responsive sizing and optimization, but it does not automatically write meaningful alt text or make an image relevant to a query.
Describe the meaningful visual information and purpose in context. Keep decorative images empty (alt="") and avoid keyword lists.
Google documents image discovery through HTML image elements and says it does not index CSS images. Use an <img> element for images that matter to the page or image search.
Run the free audit, then approve the fixes. Every change can be undone.