このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Fix Media Library

説明

Fix Media Library fixes inconsistency between wp-content/uploads folder and
database.
Fixes corrupted Media Library database records.
Designed to run smoothly against huge Media Libraries containing hundreds of thousands of images.

Useful when:

  • Really old database is used and there are a lot of problems with Media Library found
  • New thumbnail sizes are registered
  • Some thumbnail sizes are not used anymore (theme change, upgrade), but image files are still exists
  • There are Media Library entries present pointing to image files that don’t exist anymore
  • Some entries in Media Library are not displayed, while image files are present (_wp_attachment_metadata meta field corrupted)
  • There are a lot of images in wp-content/uploads folder that are no longer used
  • There are duplicate attachments pointing to the same image file
  • Images are used by website, but you can’t find them in Media Library
  • You want to update attachments GUID fields containing old/staging urls
  • Detects major database corruptions affecting media library functionality

At WowPress.host company we regularly migrate very old databases and clean it up to make sure website using it is running smoothly. Those databases have all different kinds of inconsistencies collected during years or even decades of usage, and Media Library is the most common problematic piece of data here.
That plugin helps to solve most common problems related to Media Library data.

We use a lot of open-source tools in our work, and therefore decided publish our own tools so that those can be used by the community too.

Need Help? Found A Bug? Want To Contribute Code?

Support for this plugin is provided via the WordPress.org forums.

The source code for this plugin is available on GitHub.

Paid support at WowPress.host.

スクリーンショット

  • Configuration page
  • Progress running

インストール

  1. Go to your admin area and select Plugins → Add New from the menu.
  2. Search for “Fix Media Library”.
  3. Click install.
  4. Click activate.
  5. Navigate to Tools → Fix Media Library.

評価

2019年11月6日
I had a corrupted Media Library. Images were on server but not the folders were missing from the media library. By selecting just the main images (not the thumbnails) I was able to reimport them and the library now look as it should. Hopefully that means it all works now. NOTE: you need to change the default date to file date if are doing what I did.
2019年10月31日
I searched a long time to actually find a working plugin that would remove all the orphaned entries in a photographers website. This worked very well! Some suggestion to get it to 5 stars: Make a short FAQ for how to do certain things. For me it was only important to fix the media library and remove all the orphaned files, so it would be nice to show the users which settings should be used for different usage cases, like for example: Delete orphaned images Delete images that are no longer used in the Website Recreate the Metadata and Thumbnails
2019年8月2日
This plugin is legitimate. Works perfectly. Of course, with everything you do in WP related to the database and files; you should ALWAYS pull your own backups. However, I had no need to use them. It worked the first time and did a miracle for a client's site I was working on.
24件のレビューをすべて表示

貢献者と開発者

Fix Media Library はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Fix Media Library” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Fix Media Library” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

Version 2.0

Correctly process attachments stored without subfolders, like year/month.
Don’t fail on folders with corrupted-charset characters in filename.
Handle _wp_attachment_backup_sizes metadata – remove on regeneration, ignore on weak references check

Perform basic database structure check

Version 1.0

Initial release.