An open API service indexing awesome lists of open source software.

https://github.com/fballiano/openmage-autodelete-product-images


https://github.com/fballiano/openmage-autodelete-product-images

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

OpenMage Autodelete Product Images
=================================

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.

If you find my work valuable, please consider sponsoring

Sponsor me on GitHub
Buy me a coffee
Donate via PayPal

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:
```shell
composer require fballiano/openmage-autodelete-product-images
```

With modman:
```shell
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](https://help.github.com/articles/using-pull-requests).

Developer
---------
Fabrizio Balliano
[http://fabrizioballiano.com](http://fabrizioballiano.com)
[@fballiano](https://twitter.com/fballiano)

Licence
-------
[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

Copyright
---------
(c) Fabrizio Balliano