I've just upgraded my site from 2.2.10 to 2.3.4, but now when I check the catalog and product pages on the front end, all my product images are missing, and just displaying the standard Magento image place holder.
I've tried running 'bin/magento indexer:reindex', 'bin/magento catalog:images:resize' and flushing the cache, all to no avail.
When I look at the front-end page source, the images all have URLs like;
But when I check the contents of the '/public_html/upgradetest/pub/media/catalog/product/cache' folder on the server, the '60fbb9146f866f4343b37b30e54d81bd' sub folder is entirely missing.
Has anyone got any idea how to resolve this?
Solved! Go to Solution.
Hi @dan_holdway ,
First, please make sure you can see the product images in the admin or not. IF images were there in the admin.
After that Flush the images cache (In admin > cache Management) and run bin/magento catalog:images:resize' .
Please make sure we have proper permission set for pub/media directory.
The product images are showing fine in the admin panel. I flushed the images cache, then ran the resize command, as you suggested, but still no product images. Oddly though, when I view a category page, and click through to a product, that product page will not have any images, but if I then go back to the category page, and refresh, the thumbnail image for that product will now be there?
The permissions for 'pub/media' are set to 777
Actually a lot of users report this image problem after upgrading. You can check a complete discussion about that here on Github: https://github.com/magento/magento2/issues/19710
There are also some proposed fixes you can try to fix your problem.
This change got my product images back but my sidebar images for featured products are still missing. Any idea what fixes that?