Images are not shown on frontend after migration. What should I do

After data migration, you see that all images are not shown on frontend but still it in the admin site? This is an error happening commonly in Magento, Woocommerce and Prestashop after the data transfer. Don’t worry. LitExtension will show you the reasons for this issue and simple way you can fix it on your own. 



The issue happens because you haven’t clear cache or reindex the target site after data migration to Magento. Follow these steps to clear cache and reindex:


In SSH console of your server navigate to your store root folder

cd path_to_the_store_root_folder


run these commands:

php bin/magento cache:clean

php bin/magento indexer:reindex



You need to activate Generate Thumbnail to display images on the frontend.

  • Login to your Woocommerce target site
  • Go to WooComemrce  -> Status -> Tools -> click Regenerate

images are not shown on frontend after migration


images are not shown on frontend after migrarion



Similar to Woocommerce, you also need to click Generate Thumbnails from admin site

  • Login to Prestashop
  • Design tab -> Images setting -> REGENERATE THUMBNAILS -> click REGENERATE THUMBNAILS

images are not shown on frontend after migration


*Note: The procedure may take time depending on the size of data on your site. Please wait until it’s finished.


In other cases, product’s pictures may not display on frontend due to the theme. You should check its setting on the admin site.


Here the common way to fix error “Images are not shown on frontend”. If you still struggle with the issue after doing this guide, please feel free contact LitExtension expert for further information.


Visit our Blog for more interesting articles!


How can we help?