Linux 软件免费装

Mediawell

开发者 anu771063
更新时间 2026年10月24日 11:51
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library cleanup disk space unused media duplicate images

下载

1.0.0

详情介绍:

Media libraries fill up: images uploaded twice, files nothing uses any more, leftovers from deleted media, and items whose file is gone. Cleaning up by hand is risky, because it is hard to know where a file is used. Mediawell finds all of these, shows exactly where each file is used, and cleans up in a way that can always be undone. What it finds Where it looks Safe clean-up Merge duplicates Choose the copy to keep and Mediawell points every use of the other copies at it: blocks, galleries, the image class, addresses (each size to the same size), featured images, product galleries, custom fields, the site icon and logo, theme images and widgets. Addresses inside page builder data and other plugins' fields are replaced too, without breaking stored data. Each content change is saved as a revision. The merged copies go to the quarantine, and their old addresses redirect to the kept copy. Identical files can be merged in one click; pictures that only look alike are never merged automatically. In the Media Library WP-CLI Privacy Mediawell makes no requests to other sites and sends no data anywhere. All work happens in your own database and uploads folder.

安装:

  1. Install and activate the plugin.
  2. Go to Media > Mediawell and click Scan now.
  3. Review the Unused, Possibly used, Duplicates, Unregistered files and Missing files tabs.

常见问题:

Is it safe to clean up the Unused list?

These items have no known use and their file name appears nowhere in the database. They go to the quarantine, not the bin, and anything that still asks for them keeps getting the file while it is flagged for you. Keep them in the quarantine for a while before deleting them for good.

How are duplicates found without guessing?

Identical files have the same SHA-1 fingerprint. Pictures that look alike are compared with a 64-bit picture fingerprint made from a tiny grey copy of each image, so resized or recompressed copies match. Nothing uses AI or an outside service.

Will merging duplicates break my pages?

Every known use is pointed at the kept copy and saved as a revision. Any address that is missed still works, because requests for the merged copy's files are redirected to the kept copy while it is in the quarantine.

Does serving quarantined files work on every server?

It works when the server passes requests for missing files to WordPress, which is the usual setup for Apache and nginx. On servers that answer missing files themselves, requests for quarantined files show "not found" and are not counted.

Which folders does it check for unregistered files?

Only the year and month folders that WordPress creates (such as uploads/2024/05). Other folders in uploads belong to plugins and themes and are never touched. Copies made by image optimisation plugins next to a known file, such as photo.webp beside photo.jpg, are left alone.

Who can use it?

Editors and Administrators. Each action also checks permission for the exact item: deleting a media item, editing the content that is changed, or editing menus and widgets. Settings need an Administrator.

更新日志:

1.0.0