這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

2023年8月2日
After using several plugins to fix my media library this one just did everything in one go! Was having trouble with srcset images not being shown and I figured it had to do with some corruption in the Media Library. It did and this plugin fixed it easily! Thank you so much for saving me hours and hours of work! PS: Please consider updating this plugin as it is such a useful tool 🙂
2022年9月28日
You are always taking a risk when using an old plugin (in my case FOUR years old and 3 major WP core updates behind the curve). Still, the reviews looked good and I had hundreds of broken links from deleted files from an image plugin that didn't completeduring its table updates before crashing. I hadn't noticed the crash until a few weeks later when I had hundreds of empty squares in my media library. After taking backups, I did a non-destructive dry run, which ran successfully and found all the hundreds of broken links. I then used the "Delete attachments pointing to missing image file" option and it cleared everything in one go. I am so very grateful for this plugin and wonder why it isn't in the core of WP as deleting files using FTP for example is very easily done. Anyway, thank you for this plugin.
2021年9月16日
I searched for a very long time to find an easy solution to remove broken WooCommerce Product images if the image missing from the server from wp-content/uploads directory. This plugin has a "Delete attachments pointing to missing image file" function, it does the job very well.
2021年8月30日
Listen, this plugin is a lifesaver. I certainly hope it's not abandoned, it's just too useful. Wordpress was refusing to process thumbnails for some of my manually uploaded images because they were just too big. Even WP-CLI refused to deal with them. This plugin has come through in my time of need.
閱讀全部32個評價

貢獻者及開發者

“Fix Media Library” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Fix Media Library 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 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.