fballiano / openmage-autodelete-product-images
Delete images files from filesystem when an image is removed from the product or the product is deleted.
Fund package maintenance!
fballiano
Buy Me A Coffee
paypal.me/fabrizioballiano
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 5
Forks: 4
Open Issues: 0
Type:magento-module
Requires
- php: >=7.4.0
- magento-hackathon/magento-composer-installer: *
This package is auto-updated.
Last update: 2024-10-03 00:25:29 UTC
README
When you remove an image from a product the file itself it's not deleted from the filesystem. Also when you delete a product using Magento backend all the images are not deleted from the filesystem.
This module checks every modification to a product (upon saving and delete), understands what media files have been removed and deletes them from the filesystem.
Limitations
This module is not tested (and not made for that case) against "media" saved on database.
Backup!!!
Backup everything while using this module!!! This module is provided "as is" and I'll not be responsible for any data damage.
Installation
With composer:
composer require fballiano/openmage-autodelete-product-images
With modman:
modman clone https://github.com/fballiano/openmage-autodelete-product-images
Compatibility
OpenMage v19, OpenMage v20, Magento 1.9+
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contributions are highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Developer
Fabrizio Balliano
http://fabrizioballiano.com
@fballiano
Licence
OSL - Open Software Licence 3.0
Copyright
(c) Fabrizio Balliano