Magento – Magento 2 (Ubuntu) – Thumbnail image caching fails

cachemagento-2.1magento2product-images

I'm using Magento 2.1.0 with a bought with a template (SM Sawyer) on Ubuntu 16.04.1
Our products are being inserted/controlled by an external registration system.

After this external source adds products, their thumbnails get created correctly in /pub/media/catalog/product/…
At some point after the update of certain products, these thumbnails get mixed up in the cache: Once you click on the product you get shown the correct full image, but when shown in lists you will see another product (probably the old cached thumbnail). Once I delete the folder in which these cached images exist, it will start creating the correct thumbnails again.

I ensured the file permissions are on 777 in the media folder.

Does anyone have a clue?

Best Answer

I have resolved this by cleaning "Pregenerated product images files" from:

System -> Cache Management, and at the bottom click on "Flush Catalog Images Cache".

Related Topic