Magento2: Image resize not working › Desssigner.in › Aryan Srivastava
Product images are stored in cache while creating product from admin. Sometime while adding or updating product the image does not work properly because of cache.
You can try following steps, I hope it will definitely works for you:
- Go to pub/media/catalog/product folder and you will see folder.
- Rename cache folder. (Ex. cache-, cache_bkp, etc)
- Create resized product image by execution following commands
php bin/magento indexer:reset
php bin/magento indexer:reindex
php bin/magento catalog:images:resize
php bin/magento cache:flush
Note: If still facing issue, check file permission of pub, var, generated folder and then try all above steps.
If you want a live session, do direct ping me on LinkedIn I will arrange an online session on weekends.
Originally published at https://desssigner.in on March 30, 2022.