404 or 410 from image URL
- Likely cause
- File moved, deleted, or generated with the wrong path
- Action
- Restore the asset or update every reference to its current URL. Redirect only when the replacement image is genuinely equivalent.
Find image URLs that return errors or fail to render, trace the cause across templates and CDNs, and fix broken images without confusing them with alt text issues.
A broken image is an image URL that fails to load for visitors or crawlers. Check the actual image request and response first: a missing file, blocked CDN, bad responsive-image variant, or access rule can break it. Fix the source or delivery path, then verify the rendered page and image URL. Alt text describes an image; it does not repair an unavailable file.
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.
Use a browser with DevTools. In Network, filter by Img, reload the page, and identify the failed request. Record the exact URL, status, and whether the request was blocked, redirected, or timed out.
Check whether the file loads in a private window without a logged-in session. A 404 usually points to a stale or incorrect path; a 403 can point to permissions, hotlink protection, or a CDN rule; a 5xx or timeout needs an origin or delivery investigation.
Inspect the rendered HTML. Confirm the failing URL is in an <img src> or an appropriate srcset candidate. For responsive images, test the candidate chosen at the affected viewport and keep a valid src fallback.
If the same image fails everywhere, investigate the file or delivery layer. If it fails on one template or viewport, compare the generated URL, transformations, and responsive-image markup.
For a crawler-specific failure, check the page and asset in Search Console's URL Inspection or review CDN and origin logs for Googlebot requests. Google's image guidance says it can find images in the src attribute of an <img> element and that it does not index CSS images. That is a discovery limitation, separate from whether a file returns an error.
srcset candidate or format negotiationsrc fallback; test narrow and wide viewports.<img> and its URL is discoverable.Google Search supports images referenced in the src attribute of img in these formats: BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, and suggests the file extension match the file type. Check this when a CDN or image service rewrites formats.
<picture>
<source type="image/svg+xml" srcset="pyramid.svg">
<source type="image/webp" srcset="pyramid.webp">
<img src="pyramid.png" alt="An 1800s oil painting of The Great Pyramid">
</picture>If an asset is intentionally retired, remove it from page markup and image sitemaps. Do not leave a visible broken placeholder or return an HTML error page with a success status from the image endpoint. For shared assets, use one stable URL where practical so pages and crawlers can reuse the same resource.
srcset does not select a broken file at one breakpoint.For ecommerce teams, prioritize product images used on live product and category pages, then check variant swatches and campaign landing pages. For publishers, look at featured images and images embedded in evergreen guides. The same broken file can affect customer comprehension even when it is not a ranking issue.
robots.txt to hide failures. Google's robots.txt guide says robots.txt can be used to keep image files out of Google Search results, so a block can hide images you want indexed.When an image is present but poorly described, see alt text. For other page response problems, use the 4xx errors guide.
3 questions people ask next, answered from the sources on this page.
A broken image is first a user experience and asset availability problem. Google says it ignores content from URLs that return 4xx status codes, so a missing image file cannot be indexed, but its documentation does not say one broken image lowers the page's ranking. Check whether the image is important to the page and whether the failure affects rendered content.
Google's image guidance says it does not index CSS images. Use an HTML <img> when the image itself should be discoverable, with a valid src and useful surrounding context.
Redirect only when a replacement is equivalent and useful. Otherwise remove references to the asset and let the retired URL return a real not-found response.
Run the free audit, then approve the fixes. Every change can be undone.