{"id":13560022,"url":"https://github.com/fballiano/openmage-image-cleaner","last_synced_at":"2025-12-13T00:39:49.421Z","repository":{"id":56981920,"uuid":"354619630","full_name":"fballiano/openmage-image-cleaner","owner":"fballiano","description":"Image cleaner for Magento 1 and OpenMage. Cleans orphans category, product and wysiwyg images.","archived":false,"fork":false,"pushed_at":"2025-04-29T15:36:45.000Z","size":98,"stargazers_count":21,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-24T23:12:17.787Z","etag":null,"topics":["image-classification","image-processing","magento","magento-2-extension-free","magento-extension","magento-module","magento-module-free","magento1","magento1-module"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fballiano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"fballiano","buy_me_a_coffee":"fballiano","custom":["https://paypal.me/fabrizioballiano"]}},"created_at":"2021-04-04T18:37:47.000Z","updated_at":"2025-04-29T15:36:48.000Z","dependencies_parsed_at":"2024-01-14T03:45:04.770Z","dependency_job_id":"a013cead-602c-4748-94f6-a4d83fe5300a","html_url":"https://github.com/fballiano/openmage-image-cleaner","commit_stats":{"total_commits":68,"total_committers":2,"mean_commits":34.0,"dds":0.3529411764705882,"last_synced_commit":"117d66e4aded9c655de7f54cf493d765c3419593"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/fballiano/openmage-image-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-image-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-image-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-image-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-image-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fballiano","download_url":"https://codeload.github.com/fballiano/openmage-image-cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fballiano%2Fopenmage-image-cleaner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259518830,"owners_count":22870303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-classification","image-processing","magento","magento-2-extension-free","magento-extension","magento-module","magento-module-free","magento1","magento1-module"],"created_at":"2024-08-01T13:00:36.281Z","updated_at":"2025-12-13T00:39:49.377Z","avatar_url":"https://github.com/fballiano.png","language":"PHP","funding_links":["https://github.com/sponsors/fballiano","https://buymeacoffee.com/fballiano","https://paypal.me/fabrizioballiano","https://www.buymeacoffee.com/fballiano","https://www.paypal.com/paypalme/fabrizioballiano"],"categories":["Modules"],"sub_categories":["Image processing"],"readme":"# The best image cleaner for Maho, OpenMage and Magento 1.9\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd align=center\u003e\n\u003cstrong\u003eIf you find my work valuable, please consider sponsoring\u003c/strong\u003e\u003cbr /\u003e\n\u003ca href=\"https://github.com/sponsors/fballiano\" target=_blank title=\"Sponsor me on GitHub\"\u003e\u003cimg src=\"https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#white\" alt=\"Sponsor me on GitHub\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.buymeacoffee.com/fballiano\" target=_blank title=\"Buy me a coffee\"\u003e\u003cimg src=\"https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black\" alt=\"Buy me a coffee\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.paypal.com/paypalme/fabrizioballiano\" target=_blank title=\"Donate via PayPal\"\u003e\u003cimg src=\"https://img.shields.io/badge/PayPal-00457C?style=for-the-badge\u0026logo=paypal\u0026logoColor=white\" alt=\"Donate via PayPal\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\nFeatures\n---------\n- Identify and remove orphan **category images** (reading data from the default \"image\" attribute and **all custom attributes** of type \"image\").\n- Identify and remove orphan **product images** (reading data from media_gallery) and **product images cache**.\n- 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).\n- Check before delete: you can review (and download) the identified images before removing them.\n- Possibility to **blacklist folders and/or files** (with wildcard support) not to ever identify them as orphans.\n- Possibility to **flush media/import, media/tmp, var/export, var/importexport**.\n- Compatible with **Maho, Magento 1.9, OpenMage 19 and OpenMage 20 on PHP \u003e= 7.4**.\n\nHow to use it\n-------------\n- Install via composer (`composer require fballiano/openmage-image-cleaner`), \n  modman (`modman clone https://github.com/fballiano/openmage-image-cleaner`)\n  or any other way you like\n- Navigate to backend's \"System -\u003e Tools -\u003e Image Cleaner\" section\n- Click \"Sync category images\" and/or \"Sync product images\" or \"Sync WYSIWYG\"\n- The grid will show all the images that are detected as orphans\n- Delete them (check the backup section!) one by one or with a mass action\n\nIf you want to change the default thumbnail size (in the image cleaner admin grid) go to\n\"System -\u003e Configuration -\u003e Advanced -\u003e Admin -\u003e Image Cleaner\".\n\nIf you want to blacklist folders or files go to\n\"System -\u003e Configuration -\u003e Advanced -\u003e Admin -\u003e Image Cleaner\".\n\nBackup!!!\n---------\nBackup your database and files before launching the cleaning process!!!\nThis module is provided \"as is\" and I'll not be responsible for any data damage.\n\nTechnical documentation\n-----------------------\n\nTechnical documentation is available on [https://deepwiki.com/fballiano/openmage-image-cleaner](https://deepwiki.com/fballiano/openmage-image-cleaner).\n\nSupport\n-------\nIf you have any issues with this extension, open an issue on GitHub.\n\nContribution\n------------\nAny contributions are highly appreciated. The best way to contribute code is to open a\n[pull request on GitHub](https://help.github.com/articles/using-pull-requests).\n\nDeveloper\n---------\nFabrizio Balliano  \n[http://fabrizioballiano.com](http://fabrizioballiano.com)  \n[@fballiano](https://twitter.com/fballiano)\n\nLicence\n-------\n[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)\n\nCopyright\n---------\n(c) Fabrizio Balliano\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffballiano%2Fopenmage-image-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffballiano%2Fopenmage-image-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffballiano%2Fopenmage-image-cleaner/lists"}