On this page
What this issue is
An image CDN (content delivery network) is a service that stores and serves your images from servers close to the visitor. Examples are Cloudflare, Cloudinary, imgix, Shopify's CDN or a WordPress image plugin's CDN. When it fails, the page HTML loads fine but the image requests return errors such as 403, 404, 5xx, a certificate error or a timeout.
Why it costs you leads or sales
Visitors judge trust in seconds. A product page without photos, a landing page without a hero image or a checkout without trust badges feels unsafe or abandoned. People leave instead of reporting it, so you rarely hear about it.
- Ad clickVisitor arrives
- Page HTML loadsText and layout appear
- Images from CDN403, 404 or timeout
- Visitor trusts pagePage looks broken
- Lead or purchaseNever reached
The page loads, but the images do not, so trust drops before the visitor reaches the form or cart.
Example: conversion rate of a landing page with working images versus one with a broken hero and product images. Numbers are illustrative only.
How to check if your site has it
Open the page in a private window
Use a clean browser with no cache or extensions, ideally on a mobile connection too, since the failure may be regional.
Open DevTools
Press F12 (or Cmd+Option+I on Mac), go to the Network tab, tick Disable cache and reload.
Filter by Img
Look for rows in red or with a status other than 200 or 304. Note the status code and the domain.
Open one failing URL directly
Paste it in a new tab. A 403 suggests hotlink or WAF rules, 404 a missing file or wrong path, 5xx an origin or CDN fault, and a security warning an SSL problem.
Check the CDN status page
Look at your provider's status page for incidents in the affected region.
| What you see | Likely cause |
|---|---|
| 403 Forbidden | Hotlink protection, WAF rule or signed URL expired |
| 404 Not Found | File deleted, renamed or wrong CDN path after a migration |
| 520-526 or 5xx | CDN cannot reach your origin server |
| Certificate warning | Expired or mismatched SSL on the CDN hostname |
| Mixed content blocked | HTTP image URLs on an HTTPS page |
| Slow then fails | Origin overloaded or plan bandwidth limit reached |
How to fix it
Fix depends on the error from the check above. Start with the common causes, then use the platform steps.
Match the fix to the status code
Use the table above. Fix the cause of the specific error rather than switching the CDN off blindly.
Check the CDN hostname and DNS
Confirm the image domain (for example cdn.example.com) still has a valid DNS record and points to the right provider.
Check SSL
Make sure the certificate covers the CDN hostname and has not expired. Reissue it in your CDN dashboard if needed.
Review hotlink and firewall rules
Allow your own domain, www and subdomains as referrers, and make sure no WAF rule blocks image paths or common user agents.
Purge the cache
If the CDN cached an error response, purge the affected URLs or the whole cache after fixing the cause.
Use a fallback if needed
Temporarily turn off the CDN rewrite so images load from your origin while you fix the CDN.
Check your CDN or image plugin settings
In the plugin that rewrites image URLs (for example your cache, CDN or image optimisation plugin), verify the CDN URL is correct and active. Disable the CDN rewrite to test.
Regenerate URLs after a migration
If you moved domains, run a search-and-replace on the database for the old image domain and clear plugin caches.
Check file permissions
Make sure the wp-content/uploads folder is readable by the web server so the CDN can pull the files.
Check the image in Content > Files
Confirm the file exists and is not deleted or still processing.
Review apps that rewrite images
Disable image optimisation or lazy-load apps one at a time and reload the page to find the culprit.
Check theme image code
In the theme, make sure image tags use the image_url filter rather than hard-coded old CDN links.
Check the asset in the Assets panel
Confirm the image exists and is used on the page. Re-upload if it is missing.
Republish the site
Publish again so asset URLs are regenerated, then test in a private window.
Check custom domain and proxy
If you put Cloudflare in front of Webflow, review its SSL mode and firewall rules for image paths.
Re-upload the image
In the Media Manager, replace the failing file and publish.
Remove external image links
If you embedded images from another host, upload them to Wix instead.
Replace the image block
Delete and re-add the image from your Asset Library, then save.
Check code injection
Look in Settings > Advanced > Code Injection for scripts that rewrite or block images.
Check the image URLs in your HTML
Make sure they use the right CDN host and HTTPS, and that signed URLs have not expired.
Add an origin fallback
Use an onerror handler to fall back to the origin image if the CDN fails.
<img src="https://cdn.example.com/images/hero.jpg"
onerror="this.onerror=null;this.src='https://www.example.com/images/hero.jpg';"
alt="Product hero" width="1200" height="600">How to confirm it's fixed
- Reload the page in a private window with Disable cache ticked and see no red image rows in Network.
- Open a previously failing image URL directly and get a 200 status.
- Test on mobile data and in a second country if you can, since CDN failures can be regional.
- Check key pages: home, landing pages, product pages and checkout.
- Purge the CDN cache once more and recheck.
Image CDN failing
- Broken image icons on key pages
- Network tab shows 403, 404 or 5xx on images
- Page looks untrustworthy
- Visitors leave before converting
Image CDN healthy
- All images return 200 or 304
- Certificate and DNS valid
- Hotlink and WAF rules allow your domains
- Pages look complete
How to prevent it happening again
- Set a renewal reminder for the CDN hostname certificate and domain.
- After any migration, domain change or theme change, test your key pages for broken images.
- Review hotlink and firewall rules when you add subdomains.
- Avoid signed image URLs with short expiry on pages that get cached.
- Keep a documented fallback to serve images from origin.
- Monitor key pages on a schedule instead of relying on visitors to tell you.
How FunnelGuard handles this
FunnelGuard detects this today. When a robot visitor runs your journey, it loads each page and checks for broken resources, such as images that fail to load. This is the no_broken_resources check. If an image on a journey page fails, FunnelGuard re-checks from a second region before sending one alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) with a screenshot and a likely cause.
Questions people ask
Why are my images not loading on my website?
Usually the image host returns an error. Open DevTools, go to the Network tab, filter by Img and look at the status code. A 403 points to hotlink or firewall rules, 404 to a missing file or wrong path, and 5xx to an origin or CDN fault.
How do I fix broken images after setting up a CDN?
Check that the CDN hostname has valid DNS and SSL, that the CDN can reach your origin, and that image URLs use the right domain over HTTPS. Then purge the CDN cache and reload in a private window.
Why do my images show a 403 error on the CDN?
A 403 means the CDN or origin refused the request. Common causes are hotlink protection that does not allow your own domain or subdomains, a firewall rule blocking the image path, or a signed URL that has expired.
Can a broken image CDN hurt my conversions?
Yes. Missing product photos, hero images or trust badges make a page look broken or unsafe, and visitors tend to leave without telling you. The effect is stronger on paid traffic, where each click costs money.
How do I quickly get images back while I fix the CDN?
Turn off the CDN URL rewrite in your plugin or theme so images load from your own origin, or add an onerror fallback to the origin URL. Fix the CDN properly afterwards and purge its cache.
Why are images broken only for some visitors or countries?
CDNs serve from regional servers, so one region can fail while others work. Geo rules, an edge outage or a cached error response can also affect only some visitors. Test from another network or region.
Does FunnelGuard detect broken images?
Yes. Its no_broken_resources check flags resources, including images, that fail to load on the pages a journey visits. It re-checks from a second region before alerting you with a screenshot and a likely cause.
Related issues
- OPS-121Hotlink protection blocking own subdomainsFix guide
- OPS-113CDN origin errors (520-526 Cloudflare errors)Fix guide
- OPS-107CDN serving stale page after deployFix guide
- OPS-117Minification/combine breaking scriptsFix guide
- OPS-100Cloudflare/WAF blocks real visitors (challenge loops)Fix guide
- OPS-115CDN purges failing / edge outageFix guide