Fix images not being displayed on a website in Hostinger, whether due to upload, path, or permissions issues.
Rule out basic causes first
Make sure you’re viewing the latest version of your website by clearing your cache. Also try disabling ad blockers and other browser extensions to rule out device-related issues.
Check common causes
If the images are still missing after clearing the cache and disabling browser extensions, check these common causes and solutions:
|
Causes |
Solution |
|
The image is not uploaded to the server |
To ensure the file is uploaded, go to the file manager and check if the image file is there. If it’s missing, upload it. |
|
The path or filename is incorrect |
Verify that your HTML source code has the correct path to the image. Moving your website or renaming folders may cause the image link in the code to break. You can use the inspect website elements function of your browser for this. Also, keep in mind that filenames are case-sensitive. If the title of your image file is |
|
The file permissions are incorrect |
The folder where the image is located or the file itself may have restricted permissions. You can set them to default values by fixing file permissions. |
If the issue persists
If the image is uploaded properly and the filename, path, and permissions are correct, but the problem persists, check for error messages that can help better identify the issue. You can look for errors by inspecting the image on your browser or, if it’s PHP-related, by displaying PHP error messages.
See how to identify and fix website errors at Hostinger for further troubleshooting.
If you need a developer’s help, consider the options available on Fiverr