Skip to content

Diagnose an attachment that fails to load

Media 0.12.34 / Troubleshooting

Diagnose an attachment that fails to load

Identify whether the issue affects the attachment record, a generated size, or access to protected media.

Narrow down the failure

  1. Find the file in the WordPress Media Library. Record the attachment and the page that uses it. Test the original image, then test the page at two viewport sizes. A responsive image may request a different file from its original.
  2. Review the current target's integrity results for that attachment. A completed scan records which attachments were examined or queued. Check the attachment result for confirmed verification.
  3. If a custom CSS rule or pasted URL still uses the former address, check the original reference in the page editor. Media projects verified native attachment URLs without rewriting saved post content.
  4. For a protected asset, repeat the test as an authorized member and as a guest. A guest refusal can be the expected result. If an authorized member also fails, check access in the owning product and inspect the private target in Media.

For a missing object or local original, pause cleanup and audit the affected attachment before changing target settings.

Was this documentation helpful?Your response helps us improve this page.