Linux 软件免费装
Banner图

Media Purge – Unused Media Cleaner & Duplicate Finder

开发者 naqeeb026
更新时间 2026年10月11日 23:27
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library cleanup unused images duplicate images media cleaner

下载

1.4.5 1.4.6

详情介绍:

Media Purge is a free WordPress media cleaner that finds unused images and other media files, shows you exactly where every file is used, and lets you clean up your media library safely through a recoverable trash. Over time every WordPress site collects images nobody uses anymore: old product photos, replaced banners, test uploads, files left behind by deleted posts. They take up disk space and make your backups larger, and they make the media library harder to manage. Deleting them by hand is risky, because a file can look unused in the Media Library while it still appears in a page builder layout, a widget or a product gallery. Media Purge solves that in four steps:
  1. Scan – it checks post content, post meta, widgets, theme customizer settings, WooCommerce product galleries and page builder data (Elementor, Divi, WPBakery, Beaver Builder).
  2. Review – every file shows its size and a Used In list with links, so you can check a file before you remove it.
  3. Trash – unused files move to the plugin's own internal trash, not a permanent delete.
  4. Restore – trashed files stay recoverable for 30 days by default (adjustable), with one-click restore from the Recovery tab.
Free to use. All core cleanup features are free: scan, review, trash, restore and CSV export. There are no scan limits and no file caps. A paid tier with advanced automation is planned; those features are marked "Coming Soon" inside the plugin. Core cleanup (scan → review → trash → restore) will always be free. What Media Purge does Find unused images and media Detects media files with no reference across post content, post meta (featured images, WooCommerce product galleries), widget areas, theme customizer options and supported page builders. Results show the file size, so you can see how much storage you can reclaim. "Used In" display Each media item shows where it is used, with the post title, post type and context (for example, Featured Image in "About Us" or an Elementor widget in "Home") and a direct link to edit that post. Safe trash and recovery Files go to an internal trash first. They remain recoverable for 30 days by default, and you can change the retention period in Settings. The Recovery tab lets you restore single files or bulk-restore, and you permanently delete only when you are ready (or when the retention period ends). Duplicate image finder (view) Groups files that are byte-for-byte identical using MD5 hashing, regardless of filename, and shows the storage each duplicate group wastes. One-click duplicate merge is planned for a future release. Page builder support, free Scans Elementor JSON data, Divi module meta, WPBakery shortcodes and Beaver Builder layouts in the free version, so builder images show up as in use. WooCommerce support Product featured images and product gallery images are recognised as in use. Whitelist Mark any file as "Keep" so the scanner never flags it again. Use it for files loaded by a theme or plugin the scanner does not read. Storage analytics See your media storage broken down by type (images, videos, audio, documents, other), with total media count, unused count, total size and potential savings. Filters, bulk actions and CSV export Filter unused media by file type, bulk trash or bulk whitelist many files at once, and export the unused list to CSV for review or client reporting. Large libraries load 30 items per page with load-more pagination. Built for live sites The scanner is read-only: it never moves, modifies or deletes anything while scanning. Scans run in the background in small batches to keep server load low. Nothing changes until you choose to trash a file. A first-run setup wizard lets you set recent-upload protection, trash retention and WooCommerce scanning. Coming in a future release (paid tier) These features are in development and are labelled "Coming Soon" inside the plugin: Who is it for? Compatibility | Plugin / theme | What is scanned | |---|---| | Elementor | Image widgets, background images and gallery elements in Elementor JSON data | | Divi Builder (plugin or theme) | Images in Divi module meta and layout data | | WPBakery Page Builder | Images referenced in [vc_*] shortcode attributes | | Beaver Builder | Images stored in Beaver Builder layout posts | | WooCommerce | Product featured image and all product gallery images | | Gutenberg / Block Editor | Image, gallery, cover, media-text and core blocks that store attachment IDs | | Classic Editor | <img> tags and [gallery] shortcodes in post content | | Widgets & Theme Customizer | Upload URLs stored in widget options or theme mod values | WordPress 5.8 or higher and PHP 7.4 or higher. Single-site installs only; multisite support is planned. Learn more

安装:

  1. In your WordPress admin, go to Plugins → Add New, search for "Media Purge", then click Install Now and Activate. Or upload the media-purge folder to /wp-content/plugins/ and activate it from the Plugins menu.
  2. Go to Media → Media Purge.
  3. Complete the short setup wizard (recent-upload protection, trash retention, WooCommerce scanning), or skip it.
  4. Click Run Scan Now.
  5. Review the results, check the "Used In" links, then trash the files you no longer need. You can restore them from the Recovery tab during the retention period.

屏幕截图:

  • Scanner before a scan – what will be scanned, with a clear "Start Full Scan" button.
  • Scanner results – thumbnail, filename, file size, "Used In" links, type filter, Export CSV and bulk actions.
  • Recovery tab – trashed files with one-click restore and bulk restore or delete.

升级注意事项:

1.4.6 Fixes the support forum link and a display issue on the Storage Analytics screen. 1.4.5 Removes background storage-snapshot collection and placeholder charts. The Storage tab now shows only real scan data and your largest files. 1.4.4 Important fix: the admin screen could show only a loading spinner because of a corrupted JavaScript build. Update to restore the full interface. 1.4.3 Adds a System Status tab and a clear "No Unused Files Found" message for clean sites. Page builders are correctly shown as free features. 1.4.1 Security and reliability improvements. Upgrade prompts and the usage meter were removed; advanced features now appear as "Coming Soon" previews.

常见问题:

How do I find unused images in WordPress?

Install Media Purge, go to Media → Media Purge and run a scan. It lists media files with no detected reference in your content, post meta, widgets, customizer settings or supported page builders, with the file size and a "Used In" check for each one.

Will it permanently delete my files?

Not automatically, and not until you choose to. Files move to the plugin's internal trash first. They stay there for 30 days by default (adjustable in Settings) and can be restored at any time from the Recovery tab. Permanent deletion happens only when you click "Delete Permanently" or when the retention period ends.

Is it safe on live sites?

The scanner is read-only. It never moves, modifies or deletes anything while scanning, and nothing changes on your site until you click a Trash button. As with any cleanup, we recommend a recent backup before you permanently delete files.

Does the free version scan Elementor and other page builders?

Yes. Elementor, Divi, WPBakery and Beaver Builder are scanned in the free version. For builders the scanner does not support, use the Whitelist to exclude files you know are in use.

What if a theme or plugin uses a file the scanner doesn't know about?

Use the Whitelist. Click "Keep" on any file in the Scanner tab to exclude it from all future scan results.

Does it work with WooCommerce?

Yes. Product featured images and product gallery images are scanned through post meta.

How does it find duplicate images?

Files are grouped by their MD5 hash, so byte-for-byte identical files land in the same group regardless of filename. Resized copies or edited versions are not treated as duplicates. Viewing duplicates is free today; one-click merge is planned.

Will the plugin slow down my site?

Scans run as a background process in small batches to keep server load low, so visitors should not notice a scan in progress.

Can I export the list of unused files?

Yes. Use the Export CSV button in the Scanner tab.

Does the free version have limits?

No artificial limits: no scan caps, no file-count restrictions and no time limits.

What happens if I deactivate or uninstall the plugin?

On deactivation, scheduled events are cleared and plugin tables are kept, so your scan history and whitelist are there if you reactivate. On uninstall, the plugin's database tables and options are fully removed.

更新日志:

1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0