Skip to content
MinionHelp Center

Minion Help Center

How to troubleshoot broken website images and media URLs

Reviewed December 2, 2026 ยท Minion

A broken image can be a missing file, an incorrect URL, an access problem or an invalid response. Inspect what the browser requested and received before replacing the image everywhere.

Inspect the actual resource

  1. Copy the resolved image URL from the affected element.
  2. Check its HTTP status, response content type and whether it returns an image or an HTML error page.
  3. Test access in a fresh session without administrator permissions.
  4. Inspect responsive image candidates as well as the fallback source.

Check paths and publishing dependencies

Relative paths, filename case and renamed assets can behave differently after deployment. A file that exists in a local project may not have been uploaded to the production host. Private storage links can also expire or require authentication.

For example, the desktop source can work while a mobile srcset candidate points to a deleted file. Inspect the selected resource at the failing screen width rather than checking only the default image URL.

Distinguish display from script access

Cross-origin images can often display normally in an image element while script access, canvas use or other fetch operations require appropriate CORS permission. Read the exact console message before attributing every cross-domain image issue to CORS.

After fixing the path or delivery configuration, verify image dimensions, alternatives, lazy-loading behavior and public access. Update stale references and cache rules deliberately so the broken URL is not reintroduced.

Should you make all media storage public?

No. Public storefront images need an appropriate public delivery route. Private documents and customer uploads need access controls suited to their purpose.

References

Put this into practice.

Minion can help with website media delivery and responsive image support. Discuss the right ongoing support plan for your store or website.