Linux 软件免费装
Banner图

Media Deduper

开发者 drywallbmb
kenjigarland
xavierserranoa
更新时间 2024年12月3日 23:45
PHP版本: 4.3 及以上
WordPress版本: 6.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media admin upload attachments

下载

0.9.3 1.1.1 1.2.0 1.2.1 1.2.2 1.3 1.3.1 1.3.2 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.6 1.5.7 1.5.8 1.5.9 1.0.0 1.0.3 1.4.2 1.5.4 1.0.1 1.5.5 1.0.2 1.1.0

详情介绍:

Media Deduper will find and eliminate duplicate images and attachments from your WordPress media library. After installing, you'll have a new "Manage Duplicates" option in your Media section. Before Media Deduper can identify duplicate assets, it will build an index of all the files in your media library, which can take some time. Once that's done, however, Media Deduper automatically adds new uploads to its index, so you shouldn't have to generate the index again. Need faster indexing? Check out Media Deduper Pro. Once up and running, Media Deduper provides two key tools:
  1. A "Manage Duplicates" page listing all of your duplicate media files. The list makes it easy to see and delete duplicate files: delete one and its twin will disappear from the list because it's then no longer a duplicate. Easy! By default, the list is sorted by file size, so you can focus on deleting the files that will free up the most space.
  2. A scan of media files as they're uploaded via the admin to prevent a duplicate from being added to your Media Library. Prevents new duplicates from being introduced, automagically!
Use this plugin at your own risk. The plugin developers are not responsible for any lost data or site issues as a result of using this plugin. Media Deduper comes with a "Smart Delete" option that prevents a post's Featured Image from being deleted, even if that image is found to be a duplicate elsewhere on the site. If a post has a featured image that's a duplicate file, Smart Delete will re-assign that post's image to an already-in-use copy of the image before deleting the duplicate so that the post's appearance is unaffected. This feature only tracks Featured Images, and not images used in galleries, post bodies, shortcodes, meta fields, or anywhere else. Looking for more features? Media Deduper Pro includes features for image fields from several popular plugins as well. Note that duplicate identification is based on the data of the files themselves, not any titles, captions or other metadata you may have provided in the WordPress admin. Media Deduper can differentiate between 1.) media items that are duplicates because the media files they link to have the same data and 2.) those that actually point to the same data file, which can happen with a plugin like WP Job Manager or Duplicate Post. As with any plugin that can perform destructive operations on your database and/or files, using Media Deduper can result in permanent data loss if you're not careful. Back up your data before you try out Media Deduper! Please! Use this plugin at your own risk. The plugin developers are not responsible for any lost data or site issues as a result of using this plugin. Need more support? Media Deduper Pro includes dedicated support from Cornershop Creative.

安装:

  1. Upload the media-deduper directory to your plugins directory (typically wp-content/plugins)
  2. 通过 WordPress 的的“Plugins”菜单激活插件
  3. Visit Media > Manage Duplicates to generate the duplicate index and see your duplicated files

常见问题:

How are duplicates computed?

Media Deduper looks at the original file uploaded to each attachment post and computes a unique hash (using md5) for that file. Those hashes are stored as postmeta information. Once a file's hash is computed it can be compared to other files' hashes to see if their data is an exact match.

Why does the list of duplicates include all the copies of a duplicated file and not just the extra ones?

Because there's no way of knowing which of the duplicates is the "real" or "best" one based on your preferred metadata, etc.

Should I just select all duplicates and bulk delete permanently?

NO! Because the list includes every copy of your duplicates, you'll likely always want to save one version, so using Delete Permanently to delete all of them would be very, very bad. Don't do that. You've been warned. Instead, we recommend using the Smart Delete action (which is also found in the Bulk Actions menu). Smart Delete will delete the selected items one by one, and refuse to delete an item if it has no remaining duplicates. For example, if you have three copies of an image, and you select all three and choose Smart Delete, two copies will be deleted and the third will be skipped. Again, we strongly recommend backing up your data before performing any bulk delete operations, including Smart Delete.

Does Media Deduper prevent duplicates from all methods of import?

At this time, Media Deduper only identifies and blocks duplicate media files manually uploaded via the admin dashboard -- it does not block duplicates that are imported via WP-CLI or the WordPress Importer plugin.

Does this work with any plugins?

The free version does not include plugin support. Media Deduper Pro integrates with a number of popular plugins, including WooCommerce and Yoast SEO.

我该如何贡献?

The git repository should be publicly available at https://bitbucket.org/cornershopcreative/plugin_media-deduper. Feel free to fork, edit, make pull requests, etc.

更新日志:

1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.2 1.3.1 1.3 1.2.2 1.2.1 1.2.0 1.1.1 1.1.0 1.0.3 1.0.2 1.0.1 1.0.0 0.9.3 0.9.2 0.9.1 0.9