Open mikamarkus opened 3 years ago
@mikamarkus I know this is an old issue, but i think i know what your problem might be
When the new images from Akeneo is imported the old cached images are not cleaned up
Instead of resizing your entire image catalog you can simply clear your image cache
I think your frontend still has the old product image url cached and when Akeneo updates your product the cache tag for the product is not properly cleared
i just had this issue and resolved it by verifying that product cache tags along with category cache tags are propperly cleaned after each product import ( depending on your need you can simply flush your cache once the entire integration run is done )
After I import products to Magento, product images are not created in pub/media/catalog/product/cache/... directory. However, cache url is created for every product. Example:
http://magento2.local/media/catalog/product/cache/d1300c7e0dc4569dfe02e09efb93be48/R/S/.jpg
This returns 404 and are not showing in frontend. Cached image does not exist on the disk. However, original image exists.
My pub- directory has correct ownerships, image attributes and mappings are configured correctly in Akeneo Connector -settings.
I have to run
bin/magento catalog:image:resize
to make them work. It takes over 15 minutes so that's not an option to do it manually every time.Any ideas?