{"id":1537,"date":"2019-06-12T03:45:04","date_gmt":"2019-06-12T03:45:04","guid":{"rendered":"https:\/\/litextension.com\/faq\/docs\/general-questions\/images-are-not-shown-on-frontend-after-migration-what-should-i-do\/"},"modified":"2025-10-20T09:30:57","modified_gmt":"2025-10-20T09:30:57","slug":"images-are-not-shown-on-frontend-after-migration-what-should-i-do","status":"publish","type":"docs","link":"https:\/\/litextension.com\/faq\/docs\/migration-process\/common-migration-errors\/images-are-not-shown-on-frontend-after-migration-what-should-i-do\/","title":{"rendered":"Images are not shown on frontend after migration"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">After data migration, you probably see all images are not shown on frontend but still visible in the backend (admin dashboard). This error commonly happens in the case of Magento, WooCommerce, and Prestashop after the data transfer. Don&#8217;t worry! LitExtension will show you the reasons for this issue and guide you through a simple instruction so you can fix it on your own.<\/span><\/p>\n<h3><strong>Magento<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">The issue happens because you haven&#8217;t cleared cache or reindex the Target Site after data migration to Magento. Follow these steps to clear cache and reindex:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">In SSH console of your server, navigate to your Target Store&#8217;s root folder:<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"><code>cd path_to_the_store_root_folder<\/code><\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Run these commands:<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"><code>php bin\/magento cache:clean<\/code><\/span><\/p>\n<p><span style=\"font-weight: 400;\"><code>php bin\/magento indexer:reindex<\/code><\/span><\/p>\n<h3><strong>WooCommerce <\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">You need to activate &#8220;<strong>Generate Thumbnail<\/strong>&#8221; to display images on the frontend.<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Login to your WooCommerce target site<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Go to <strong>WooCommerce\u00a0<\/strong> &gt; <strong>Status<\/strong> &gt; <strong>Tools<\/strong> &gt; click <strong>Regenerate<\/strong><\/span><\/li>\n<li>Select \u201c<b>Product lookup tables<\/b>\u201d &gt; click\u201d\u00a0<b>Regenerate<\/b>\u201d<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1538\" src=\"https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1.png\" alt=\"images are not shown on frontend after migration\" width=\"1895\" height=\"884\" srcset=\"https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1.png 1895w, https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-300x140.png 300w, https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-768x358.png 768w, https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-1024x478.png 1024w\" sizes=\"auto, (max-width: 1895px) 100vw, 1895px\" \/><\/span><\/p>\n<h3><strong>Prestashop<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Similar to WooCommerce, you also need to click <strong>Generate Thumbnails<\/strong> from admin site<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Login to Prestashop<\/span><\/li>\n<li><strong>Design tab<\/strong> &gt; <strong>Images setting<\/strong> &gt; <strong>Regenerate thumbnail<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1541\" src=\"https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-1.png\" alt=\"images are not shown on frontend after migration\" width=\"1910\" height=\"880\" srcset=\"https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-1.png 1910w, https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-1-300x138.png 300w, https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-1-768x354.png 768w, https:\/\/litextension.com\/faq\/wp-content\/uploads\/2019\/06\/p1-1-1024x472.png 1024w\" sizes=\"auto, (max-width: 1910px) 100vw, 1910px\" \/><\/p>\n<p><strong>Note<\/strong>: The procedure may take time depending on the size of data on your site. Please wait until it&#8217;s finished.<\/p>\n<p>In other cases, product&#8217;s pictures may not display on frontend due to the theme. You should check its setting on the admin site.<\/p>\n<p>In case you have any other questions, please reach out to us via:<\/p>\n<ul>\n<li><a href=\"https:\/\/litextension.zendesk.com\/hc\/en-us\/signin?return_to=https%3A%2F%2Flitextension.zendesk.com%2Fhc%2Fen-us%2Frequests\" target=\"_blank\" rel=\"noopener\">Ticket system<\/a> (highly recommended)<\/li>\n<li>Email us at <a href=\"mailto:contact@litextension.com\" target=\"_blank\" rel=\"noopener\">contact@litextension.com<\/a><\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"parent":6779,"menu_order":26,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_tag":[3766,3767,3765],"class_list":["post-1537","docs","type-docs","status-publish","hentry","doc_tag-frontend-images","doc_tag-images","doc_tag-images-on-frontend"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/1537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/comments?post=1537"}],"version-history":[{"count":8,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/1537\/revisions"}],"predecessor-version":[{"id":7420,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/1537\/revisions\/7420"}],"up":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/6779"}],"next":[{"title":"I was migrating my multiple stores, but customer IDs were not moved. Why?","link":"https:\/\/litextension.com\/faq\/docs\/migration-process\/common-migration-errors\/migrate-multiple-stores-but-customer-ids-were-not-moved-why\/","href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/323"}],"prev":[{"title":"Search is not working in any other language","link":"https:\/\/litextension.com\/faq\/docs\/migration-process\/common-migration-errors\/search-is-not-working-in-any-other-language\/","href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/5819"}],"wp:attachment":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/media?parent=1537"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/doc_tag?post=1537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}