After a recent update of Magento 2.1.7 to 2.3.3. product images are not displayed.
I believe this is related to the cache, and the most common (if not the only) solution I have found is to run:
php bin/magento catalog:images:resize
However, since there are around 12,000 images, it takes forever to function and it seems to slow down over time. I have tried to run it several times. It lasted more than 6-8h and it still happens to be around 80% and there it seems to stop.
I also tried:
– cache empty, clean
– manually clear the administrator's image cache
– delete all images
– import new images with different file names
At first, it showed most of the images, and where there weren't any, it showed a placeholder for the Magento icon.
Now, it's just "empty" (white) and I noticed that all the images are called like this:
When I go there:
At first I did not see the cache directory, but after I started opening the products in the detailed view, I noticed that the cache directory had been generated. However, the hash of the directory where my images are located and the one on the frontend in the image source is not the same.
Also – on the home page, there are modules with products listed, and when the home page is opened, no cache directory is generated …
Is it possible that my theme is using the wrong URL for cached images? And if so – where should I change this?
The theme is no longer supported by the developers so … it's up to me 🙂