2

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

0

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

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

0

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

https://devdocs.magento.com/guides/v2.3/cloud/before/before-workspace-file-sys-owner.html

0

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
1
  • I run that but the problem is not resolved
    – huykon225
    Commented 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.