Knowledgebase

Symptom: Images Not Displaying Print

  • troubleshootingbysymptom, uploads, migration, errors, permissions, domain, https, database, php, woocommerce
  • 0

Broken image placeholders.

WHAT TO CHECK

Whether the file exists at the path requested Whether the address is HTTP on an HTTPS page Whether permissions allow reading Whether the path changed after migrating

HOW TO CHECK THE PATH

Open the image address directly in a browser.

If it returns a not-found error, the file is missing or the path is wrong.

AFTER A MIGRATION

Image addresses stored in the database may reference the old domain.

Search and replace, using a serialisation-aware tool.

FOR HOTLINK PROTECTION

If enabled and misconfigured, it can block your own images.

Check the setting.

FOR UPLOADS NOT APPEARING

Check the uploads folder exists and is writable Check the PHP upload size limit

FOR VERY LARGE IMAGES

They may exceed limits and fail silently.

Resize before uploading.

WHAT TO CHECK IN THE ERROR LOG

Permission errors relating to the uploads directory.

WHAT NOT TO DO

Set the uploads folder to full public write access.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot