Linux 软件免费装
Banner图

Media Purge - Unused Media Cleaner & Duplicate Finder

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

标签

media library cleanup unused images duplicate images media cleaner

下载

1.4.8 1.4.5 1.4.6 1.4.7

详情介绍:

Media Purge is a free WordPress media library cleaner. It finds unused images and other media, shows a Used In list for every file, moves clutter into a recoverable trash, and groups exact duplicate images by MD5 hash. Over time every WordPress site collects files nobody needs any more: old product photos, replaced banners, test uploads, and images left behind after deleted posts. They fill disk space, make backups larger, and make the Media Library harder to search. Deleting by hand is risky, because a file can look unused in the library while it still appears in post content, a product gallery, a widget, or Elementor data. Media Purge keeps the cleanup in four clear steps:
  1. Scan - a read-only pass over post content, post meta (including featured images and WooCommerce product galleries), widgets, theme Customizer uploads, Gutenberg and classic content, and Elementor data (image widgets, background images and gallery elements).
  2. Review - every result shows file size and a Used In list with links, so you can check a file before you remove it.
  3. Trash - selected 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. Scan, review, trash, restore, CSV export and the duplicate viewer are free. 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 stay free. What Media Purge does Find unused images and media Lists media with no detected reference in the places the scanner reads. Results include file size so you can reclaim the largest files first. "Used In" display Each item shows where it is used (for example, Featured Image on "About Us", or an Elementor image widget on "Home") with a link to edit that content. Safe trash and recovery Files go to an internal trash first. They remain recoverable for 30 days by default; you can change the retention period in Settings. Permanent deletion happens only when you choose it, or when retention ends. Duplicate image finder (view) Groups files that are byte-for-byte identical using MD5 hashing, regardless of filename, and shows storage wasted by each group. One-click duplicate merge is planned for a future release ("Coming Soon"). Elementor data in the free scan The free scan reads Elementor image widgets, background images and gallery elements, so those images can show up as in use. For other page builders, check the Used In list by hand and add files you know are used to the Whitelist. 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 media storage broken down by type (images, videos, audio, documents, other), with totals for media count, unused count, size and potential savings. Filters, bulk actions and CSV export Filter unused media by type, bulk trash or whitelist, and export the unused list to CSV. Large libraries load in pages with load-more pagination. Built for live sites The scanner is read-only while it runs. Scans work in small background batches to keep server load low. Nothing changes until you trash a file. A first-run setup wizard covers recent-upload protection, trash retention and WooCommerce scanning. Coming in a future release (paid tier) These features are in development and 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 data | | WooCommerce | Product featured image and 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. For builders or plugins the scanner does not read, use the Whitelist and verify important pages after cleanup. 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.8 Fixes scans that stalled at 0% on larger libraries, settings that did not save, and the admin screens on Plain permalinks. Unused-file detection is more accurate, so run a new scan and check the Used In list before you trash anything. 1.4.7 Review notice on the Media Purge screen after two successful cleanups and three days installed, plus a Rate us link on the Plugins screen. The plugin header now says Tested up to 7.1. 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.

常见问题:

Is Media Purge a media cleaner / media library cleaner?

Yes. Media Purge is a free media cleaner for the WordPress Media Library. It finds unused media, shows where each file is used, moves selected files to a recoverable trash, and lists exact duplicate images. There are no scan limits on the free version.

How do I find unused media or delete unused images in WordPress?

Install Media Purge, open Media -> Media Purge, and run a scan. Review each result's Used In list, then trash files you no longer need. Keep a backup before you permanently delete anything. Trashed files stay restorable for 30 days by default.

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 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 until you click Trash. As with any cleanup, keep a recent backup before you permanently delete files.

Does the free version read Elementor data?

Yes. The free scan reads Elementor image widgets, background images and gallery elements, along with post content, post meta, WooCommerce galleries, widgets and Customizer uploads. For other page builders, check Used In by hand and use the Whitelist for files you know are required.

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 future 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 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; one-click merge is planned ("Coming Soon").

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 remain if you reactivate. On uninstall, the plugin's database tables and options are fully removed.

更新日志:

1.4.8 1.4.7 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