Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Broken hero or product image: how to find and fix it

PRF-139High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A hero image is the large picture at the top of a landing page. A product image is the main photo on a product page. A broken one is an image the browser asks for but does not get, or gets in a form it cannot show. The page still loads, so nothing looks like an outage. The key picture is simply missing.

Common causes: the file was deleted or renamed, the URL points to a staging site, a CDN or image optimiser stopped working, the file type is not supported, lazy loading failed, or a security rule blocks the image. This guide covers the main hero or product image. Other broken images on the page are a separate issue.

Why it costs you leads or sales

The hero image is usually the first thing people see. If it is missing, the page looks unfinished or unsafe, and the visitor cannot see what you sell. Ad traffic is hit hardest, because people arrive from a paid click and decide in seconds. You pay for the click and lose the visit.

A missing image can also push your headline and button around. Text may overlap or the form may jump out of view. On product pages, shoppers will not buy something they cannot see.

Landing page conversion with and without the hero imageExample numbers
Landing page conversion with and without the hero image (example)Image loads: 4 % of visitors who submit the form; Image broken: 2.2 % of visitors who submit the form02342.2Image loadsImage broken% of visitors who submit the form

Example: illustrative numbers only. A page that converts at 4% with its hero image can drop sharply when the image fails.

Where a broken hero image hurts the funnel
  1. Ad clickVisitor reaches the page
  2. Hero imageReturns 404 or is blocked
  3. Trust and offerPage looks unfinished
  4. Form or Add to cartNever reached

The visitor arrives, but the image fails and trust drops before the call to action.

How to check if your site has it

Find a broken hero or product image
  1. Load the page in a private window

    Use a fresh incognito window so cached images do not hide the problem. Check desktop and a phone-sized width.

  2. Open the Network tab

    In Chrome, press F12, choose Network, then filter by Img and reload. Look for red rows or status codes such as 404, 403 or 500.

  3. Inspect the image element

    Right-click the empty area, choose Inspect and look at the img tag or CSS background-image. Copy the URL and open it in a new tab.

  4. Check the Console

    Look for blocked content, CORS or mixed content messages (an http image on an https page).

  5. Test from another network

    Try mobile data or another country. A CDN or firewall rule can block some visitors only.

What the image status tells you
What you seeLikely cause
404 Not FoundFile deleted, renamed or wrong path
403 ForbiddenPermissions, hotlink protection or firewall rule
Blocked: mixed contentImage URL starts with http on an https page
200 but nothing showsWrong file type, corrupt file, or CSS hides it
Image URL contains staging or localhostPage copied from a test site
Loads only after scrolling, then not at allLazy-load script error

How to fix it

Fix the cause the Network tab pointed to. The steps differ by platform, so start with yours.

Fix the image by platform
  1. Re-upload or relink the image

    Open the page in the editor, select the image block and use Replace. Check Media Library that the file still exists.

  2. Clear caches and optimisation

    Purge your caching plugin and CDN. If you use an image optimiser or WebP plugin, switch it off briefly to see if the image returns.

  3. Fix old URLs after a move

    If URLs still point to staging or http, run a search-and-replace on the database with a trusted tool, after taking a backup.

  4. Check lazy loading

    Exclude the hero image from lazy loading in your performance plugin settings.

Hero image with sizes, no lazy loading and high priorityhtml
<img src="/images/hero.webp" alt="Describe the offer" width="1200" height="600" fetchpriority="high">
Hero image before and after the fix

Broken

  • Image URL returns 404
  • Empty gap above the headline
  • Visitors leave before the form

Fixed

  • Image returns 200 and displays
  • Layout reserved with width and height
  • Offer visible on first view

How to confirm it's fixed

Confirm the fix
  • The image URL opens directly and returns status 200
  • The image shows in a private window on desktop and mobile
  • The Network tab shows no red image rows
  • No mixed content or blocked messages in the Console
  • The live page, not just the editor preview, shows the image
  • Product pages show the main image and any variants

How to prevent it happening again

Prevention habits
  • Never delete files from the media library without checking where they are used
  • After a migration or staging push, test key pages and search for staging URLs
  • Keep hero images out of lazy loading
  • Re-check landing pages after theme, plugin, CDN or firewall changes
  • Set width and height so a failure does not wreck the layout
  • Monitor your key pages on a schedule instead of waiting for a customer to tell you

How FunnelGuard handles this

FunnelGuard detects this today. A robot visitor loads your funnel pages on a schedule, from the EU or the US, and checks the page, including whether the main image loads. If something fails, it is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause.

Test visits are marked (utm_source=funnelguard, fg_test=1) and never click real ads. The Free plan covers 1 site and 2 journeys with daily checks, no card needed. Paid plans start at $39/month with a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why is my hero image not showing on my website?

The most common causes are a deleted or renamed file, a wrong path, an http URL on an https page, or a lazy-loading or caching problem. Open your browser's Network tab, reload the page and check the status of the image request. A 404 means the file is missing, a 403 means access is blocked.

How do I find out why a product image is not loading?

Right-click the empty space, choose Inspect and copy the image URL, then open it in a new tab. If it fails, the file or path is wrong. If it opens, check the Console for mixed content or blocked messages and clear your cache and CDN.

Why does my image show in the editor but not on the live site?

The live page may use a cached copy, a different URL or an unpublished change. Publish again, purge your cache and CDN, and test in a private window. Also check the URL does not point to a staging or local address.

Can a broken hero image affect my ad results?

Yes. Paid visitors land on the page and may leave quickly if the main picture is missing, so you pay for clicks that do not convert. Fixing the image can recover that traffic, though the exact effect varies by site.

Should I lazy-load my hero image?

No. The hero is visible straight away, so load it immediately and consider fetchpriority="high". Lazy loading is better for images further down the page.

Why is my Shopify product image blank?

The media file may have failed to upload, been deleted from Content, Files, or use an unsupported format. Open the product in Admin, check Media and re-upload the image. Then check the theme section if the image is set there.

How can I know when an image breaks without checking by hand?

Use a monitoring tool that loads your key pages on a schedule and alerts you on failures. FunnelGuard does this with a robot visitor and sends an alert with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.