Skip to content

Images not showing on my website

Right-click a broken image and choose Open image in new tab. The address and the error you get tell you the cause.

The file isn’t where the page expects it.

If your site uses HTTPS but images use http:// addresses, browsers block them as mixed content. See Fixing mixed content warnings.

  • Permissions are wrong. Image files should be 644 and folders 755. Fix them in cPanel’s File Manager with Change Permissions.
  • Hotlink protection is blocking it. If you turned on Hotlink Protection in cPanel, add every address your site uses, including www. and non-www. versions, to the allowed list. See Configuring hotlink protection in cPanel.

You replaced an image but still see the old one

Section titled “You replaced an image but still see the old one”

Your browser, your site’s cache or Cloudflare is showing a saved copy. See Clearing your cache. Uploading the new image with a different file name avoids the problem.

Large photos slow your site down. Resize them to the size they’re shown (usually no wider than 2000 pixels) and compress them before uploading. In WordPress, see Optimizing images with LiteSpeed Cache. If lazy loading or image optimisation in a caching plugin causes blank images, turn those options off to test.

See I shared my website on Facebook but it displayed an incorrect preview.

Was this page helpful?