PHPackages                             fballiano/openmage-image-cleaner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. fballiano/openmage-image-cleaner

ActiveMagento-module[Image &amp; Media](/categories/media)

fballiano/openmage-image-cleaner
================================

Image cleaner module for OpenMage (and Magento 1.9)

1.6.0(3mo ago)228144[1 issues](https://github.com/fballiano/openmage-image-cleaner/issues)OSL-3.0PHPPHP &gt;=7.4.0

Since Apr 4Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/fballiano/openmage-image-cleaner)[ Packagist](https://packagist.org/packages/fballiano/openmage-image-cleaner)[ Docs](https://github.com/fballiano/openmage-image-cleaner)[ Fund](https://www.buymeacoffee.com/fballiano)[ Fund](https://paypal.me/fabrizioballiano)[ RSS](/packages/fballiano-openmage-image-cleaner/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (25)Used By (0)

The best image cleaner for Maho, OpenMage and Magento 1.9
=========================================================

[](#the-best-image-cleaner-for-maho-openmage-and-magento-19)

**If you find my work valuable, please consider sponsoring**
[![Sponsor me on GitHub](https://camo.githubusercontent.com/3f9a3c47d5a6c575b4d6c5f13ecaf55ff585c67a6ba47f87f8cf57e4cb7a1fdc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f722d3330333633443f7374796c653d666f722d7468652d6261646765266c6f676f3d4769744875622d53706f6e736f7273266c6f676f436f6c6f723d237768697465)](https://github.com/sponsors/fballiano "Sponsor me on GitHub")[![Buy me a coffee](https://camo.githubusercontent.com/430a7d4ff7294cc857ec60d5ea9f51241205a91cab8387143d33b4bd13e27912/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275795f4d655f415f436f666665652d4646444430303f7374796c653d666f722d7468652d6261646765266c6f676f3d6275792d6d652d612d636f66666565266c6f676f436f6c6f723d626c61636b)](https://www.buymeacoffee.com/fballiano "Buy me a coffee")[![Donate via PayPal](https://camo.githubusercontent.com/b811c9741e973ac713b2a33c9bfd025f0fad57a7b1d57a29d03b30badb6d04f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50617950616c2d3030343537433f7374796c653d666f722d7468652d6261646765266c6f676f3d70617970616c266c6f676f436f6c6f723d7768697465)](https://www.paypal.com/paypalme/fabrizioballiano "Donate via PayPal")Features
--------

[](#features)

- Identify and remove orphan **category images** (reading data from the default "image" attribute and **all custom attributes** of type "image").
- Identify and remove orphan **product images** (reading data from media\_gallery) and **product images cache**.
- Identify and remove orphan **WYSIWYG images and files** (reading used images/files from cms\_block, cms\_page, core\_email\_template tables and all /skin/frontend CSS files).
- Check before delete: you can review (and download) the identified images before removing them.
- Possibility to **blacklist folders and/or files** (with wildcard support) not to ever identify them as orphans.
- Possibility to **flush media/import, media/tmp, var/export, var/importexport**.
- Compatible with **Maho, Magento 1.9, OpenMage 19 and OpenMage 20 on PHP &gt;= 7.4**.

How to use it
-------------

[](#how-to-use-it)

- Install via composer (`composer require fballiano/openmage-image-cleaner`), modman (`modman clone https://github.com/fballiano/openmage-image-cleaner`) or any other way you like
- Navigate to backend's "System -&gt; Tools -&gt; Image Cleaner" section
- Click "Sync category images" and/or "Sync product images" or "Sync WYSIWYG"
- The grid will show all the images that are detected as orphans
- Delete them (check the backup section!) one by one or with a mass action

If you want to change the default thumbnail size (in the image cleaner admin grid) go to "System -&gt; Configuration -&gt; Advanced -&gt; Admin -&gt; Image Cleaner".

If you want to blacklist folders or files go to "System -&gt; Configuration -&gt; Advanced -&gt; Admin -&gt; Image Cleaner".

Backup!!!
---------

[](#backup)

Backup your database and files before launching the cleaning process!!! This module is provided "as is" and I'll not be responsible for any data damage.

Technical documentation
-----------------------

[](#technical-documentation)

Technical documentation is available on .

Support
-------

[](#support)

If you have any issues with this extension, open an issue on GitHub.

Contribution
------------

[](#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
---------

[](#developer)

Fabrizio Balliano

[@fballiano](https://twitter.com/fballiano)

Licence
-------

[](#licence)

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

Copyright
---------

[](#copyright)

(c) Fabrizio Balliano

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~172 days

Total

24

Last Release

96d ago

Major Versions

0.10.0 → 1.0.02022-10-06

PHP version history (2 changes)0.1.0PHP &gt;=7.2.0

0.10.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/262e16fb4a6bbef60ac0fd0172f5586e2c24effcc80a2138e662fb0316083c4c?d=identicon)[fballiano](/maintainers/fballiano)

---

Top Contributors

[![fballiano](https://avatars.githubusercontent.com/u/909743?v=4)](https://github.com/fballiano "fballiano (83 commits)")[![fabianaromagnoli](https://avatars.githubusercontent.com/u/23638004?v=4)](https://github.com/fabianaromagnoli "fabianaromagnoli (1 commits)")[![m-michalis](https://avatars.githubusercontent.com/u/18676497?v=4)](https://github.com/m-michalis "m-michalis (1 commits)")

---

Tags

image-classificationimage-processingmagentomagento-2-extension-freemagento-extensionmagento-modulemagento-module-freemagento1magento1-modulemagentoopenmagemagento1

### Embed Badge

![Health badge](/badges/fballiano-openmage-image-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/fballiano-openmage-image-cleaner/health.svg)](https://phpackages.com/packages/fballiano-openmage-image-cleaner)
```

###  Alternatives

[yireo/magento2-next-gen-images

Magento 2 module to add NextGen images support to the Magento frontend

471.2M2](/packages/yireo-magento2-next-gen-images)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
