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?

3 Answers 3


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

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


Make sure to check User/Group. Follow this URL for better understanding,



I had the wrong product cache image issue in Magento 2.1.6. The following solution might help.

For individual products, try saving the product in the admin without changing anything.

For all products, try running the following command (this will take some time to complete):

PHP bin/magento catalog:images:resize
  • I run that but the problem is not resolved
    – huykon225
    Aug 20, 2020 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.