{"id":1533,"date":"2019-02-08T10:35:56","date_gmt":"2019-02-08T10:35:56","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583313-how-to-fix-images-not-being-displayed-on-a-website-in-hostinger\/"},"modified":"2019-02-08T10:35:56","modified_gmt":"2019-02-08T10:35:56","slug":"1583313-how-to-fix-images-not-being-displayed-on-a-website-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583313-how-to-fix-images-not-being-displayed-on-a-website-in-hostinger\/","title":{"rendered":"How to Fix Images Not Being Displayed on a Website in Hostinger"},"content":{"rendered":"<p class=\"no-margin\">There are many reasons why images may not be displayed on your website. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">First, make sure that you&rsquo;re viewing the latest version of your website by <b><a href=\"\/support\/1583501-how-to-clear-cache\" target=\"_blank\" class=\"intercom-content-link\">clearing the cache<\/a><\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">You can also try disabling<b> ad blockers<\/b> and other<b> browser extensions<\/b> to rule out device-related issues.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If the images are still missing after clearing the cache and disabling browser extensions, check these common causes and solutions:<\/p><div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80;width: 232px\">\n<p class=\"intercom-align-center no-margin\"><b>Causes<\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>Solution<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px\">\n<p class=\"no-margin\"><b>The image is not uploaded to the server<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">To ensure the file is uploaded, go to the <b><a href=\"\/support\/4548688-basic-actions-in-file-manager\" target=\"_blank\" class=\"intercom-content-link\">file manager<\/a><\/b> and check if the image file is there. If it&rsquo;s missing, upload it.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px\">\n<p class=\"no-margin\"><b>The path or filename is incorrect<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">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 <b><a href=\"\/support\/2152545-how-to-inspect-website-elements\" target=\"_blank\" class=\"intercom-content-link\">inspect website elements<\/a><\/b> function of your browser for this. <\/p>\n<p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Also, keep in mind that filenames are case-sensitive. If the title of your image file is <code>photo.jpg<\/code>, but it&rsquo;s <code>Photo.jpg<\/code> in the source code, the image won&rsquo;t be displayed.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 232px\">\n<p class=\"no-margin\"><b>The file permissions are incorrect<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">The folder where the image is located or the file itself may have restricted permissions. You can set them to default values by <b><a href=\"\/support\/1583479-how-can-i-fix-the-permissions-of-my-files\" target=\"_blank\" class=\"intercom-content-link\">fixing file permissions<\/a>.<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><p class=\"no-margin\">If the image is uploaded properly and the filename, path, and permissions are correct, but the problem persists, <b>check for error messages <\/b>that can help better identify the issue. You can look for errors by inspecting the image on your browser or, if it&rsquo;s PHP-related, by <b><a href=\"\/support\/4259219-how-to-display-php-error-messages\" target=\"_blank\" class=\"intercom-content-link\">displaying PHP error messages<\/a><\/b>.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">If you need a developer&rsquo;s help, consider the options available on <b><a href=\"\/support\/5375833-fiverr-services-at-hostinger\" target=\"_blank\" class=\"intercom-content-link\">Fiverr<\/a> &#128161;<\/b><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn what to do if images don&#8217;t show or load properly on your website<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[180],"tags":[],"class_list":["post-1533","post","type-post","status-publish","format-standard","hentry","category-website-troubleshooting"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583313-how-to-fix-images-not-being-displayed-on-a-website-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583313-como-arreglar-las-imagenes-que-no-se-muestran-en-tu-sitio-web-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583313-comment-reparer-les-images-qui-ne-s-affichent-pas-sur-votre-site-web-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583313-bagaimana-cara-memperbaiki-gambar-yang-tidak-muncul-di-website-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583313-como-corrigir-imagens-que-nao-estao-sendo-exibidas-em-seu-site-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583313-----\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1533"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1533\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}