Question

I have updated the Magento version to 2.3.2. After updating the Magento, the product images are not visible.

The product catalog images are coming from the old cache file directory.

I have done the following.

  1. Remove pub/media/catalog/product/cache . (Removing this folder frees up space.)
  2. Run bin/magento catalog:image:resize to generate a new image cache

Still, I'm facing the same issue.

Was it helpful?

Solution

A common issue is that Magento is looking for the pictures in the old cache files that are missing after the upgrade as the cache was cleared.

Try below actions:

  1. A catalog reindex. Follow below article for reindex steps.

https://support.weltpixel.com/hc/en-us/articles/115000355673-How-to-reindex-your-Magento-2-store-from-admin-or-SSH-CLI

  1. Re-generate the image catalog by using the command below via CLI:

php bin/magento catalog:images:resize

I hope this will help, Once you done please update me

OTHER TIPS

I had this exact same problem with Magento 2.3.2

For me it was product thumbnail images that had the wrong cache hash path and was showing the std Magento image placeholder.

I was using a custom theme.

No matter how many times i ran "php bin/magento catalog:images:resize" still the same problem. I found that the images were being generated using the Luma theme etc/view.xml instead of the custom theme etc/view.xml file.

The problem. When viewing my custom theme in the browser which uses different size images to Luma theme, Magento could not find the images and shows 404 error.

The fix.

  1. Replace Luma themes etc/view.xml with my custom theme etc/view.xml
  2. Using SHH run "php bin/magento catalog:images:resize

I took me a week to find out how to fix this, but it all work fine now.

I had faced similar issue and resolved it by running the following command:

php bin/magento sampledata:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush

Although I was working with sample data, not sure about real data.

I hope it helpful for someone.

I have found the following article if you are using Magento Commerce

Cached images are not loaded after 2.2.X to 2.3.X upgrade

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top