I want to know Possible issues after removing images of deleted products from media/catalog/product folder
From what I understood Magento2 deleting product behavior, associated images of the deleted product are not removing from media/catalog/product folder.
need to manage around 11.000 new products in the database 4 seasons/year... after almost 1 year in production, I found 4,5gb of unused image
I don't really understand possible issues after deleting this images since products are no more in the database. How should I manage such disk usage increase in a Magento2 way?
@Patel_Chirag Magento, unfortunately, does not remove images of a product when the product gets removed.
It is also possible to diagnose your store for unused products images and remove them at once using Store Manager (supports both M1 and M2, free version avail for such 1-time operations) -
Thanks @GauravMehta04 my question is not only for how to remove unnecessary image but I want to know Possible issues after removing images of deleted products from media/catalog/product folder?
Is that any way to remove image programmically without using extension?