{"id":37192,"date":"2023-03-03T14:34:44","date_gmt":"2023-03-03T14:34:44","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=troubleshooting&#038;p=37192"},"modified":"2024-01-24T17:03:24","modified_gmt":"2024-01-24T17:03:24","slug":"images-are-not-displayed-correctly-when-logged-out","status":"publish","type":"troubleshooting","link":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/","title":{"rendered":"Images Are Not Displayed Correctly When Logged Out"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>This issue might happen with the&nbsp;<strong>Image Comparison<\/strong>&nbsp;and&nbsp;<strong>Accordion&nbsp;<\/strong>widgets. The reason for that is the<br>incorrect sequence of script connections. Below is the error that you can see in such cases:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/imagesloaded-error.png\" alt=\"imagesloaded error\">\n\n\n\n<ol>\n<li>Go to the WordPress Dashboard.<\/li>\n\n\n\n<li>Open the&nbsp;<strong>Appearance<\/strong>&nbsp;tab and click&nbsp;<strong>Theme Editor<\/strong>.<\/li>\n\n\n\n<li>Select the child theme.<\/li>\n\n\n\n<li>Proceed to&nbsp;<strong>Theme Functions<\/strong>&nbsp;(functions.php).<\/li>\n\n\n\n<li>Add the following code to functions.php:<\/li>\n<\/ol>\n\n\n\n<script src=\"https:\/\/gist.github.com\/Crocoblock\/c1876b67114e944fbee9c7c36821b0f9.js\"><\/script>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/edit-themes-in-the-appearance-tab.png\" alt=\"edit-themes in-the-appearance-tab\">\n\n\n\n<p>Save the changes.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Find out how to fix the not loading images on the frontend for the non-logged user.<\/p>\n","protected":false},"author":12,"featured_media":0,"template":"","troubleshoot-tags":[373],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Images Are Not Displayed Correctly When Logged Out | Crocoblock<\/title>\n<meta name=\"description\" content=\"Find out how to fix the not loading images on the frontend for the non-logged user.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Images Are Not Displayed Correctly When Logged Out | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Find out how to fix the not loading images on the frontend for the non-logged user.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-24T17:03:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/imagesloaded-error.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/\",\"name\":\"Images Are Not Displayed Correctly When Logged Out | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-03-03T14:34:44+00:00\",\"dateModified\":\"2024-01-24T17:03:24+00:00\",\"description\":\"Find out how to fix the not loading images on the frontend for the non-logged user.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Images Are Not Displayed Correctly When Logged Out\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Images Are Not Displayed Correctly When Logged Out | Crocoblock","description":"Find out how to fix the not loading images on the frontend for the non-logged user.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/","og_locale":"en_US","og_type":"article","og_title":"Images Are Not Displayed Correctly When Logged Out | Crocoblock","og_description":"Find out how to fix the not loading images on the frontend for the non-logged user.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/","og_site_name":"Help Center","article_modified_time":"2024-01-24T17:03:24+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/imagesloaded-error.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/","url":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/","name":"Images Are Not Displayed Correctly When Logged Out | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-03-03T14:34:44+00:00","dateModified":"2024-01-24T17:03:24+00:00","description":"Find out how to fix the not loading images on the frontend for the non-logged user.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/images-are-not-displayed-correctly-when-logged-out\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting","item":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/"},{"@type":"ListItem","position":3,"name":"Images Are Not Displayed Correctly When Logged Out"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshooting\/37192"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshooting"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/troubleshooting"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/12"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=37192"}],"wp:term":[{"taxonomy":"troubleshoot-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshoot-tags?post=37192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}