Media Library Recovery


A tool that helps you restore and recover images from your wp-content/uploads folder after a database failure or reset.

The plugin allows you to restore existing media from the uploads folder and re-insert it into the WordPress database the right way.


The plugin DOES NOT upload or overwrite any media on the server, and it will only scan the default uploads folder.

You have the ability to individually select the image files you want to recover or use the availble filters and navigation with our custom file browser to speed up the process.

You cannot duplicate or overwirte existing media files and the plugin only supports images.


  • Restore and recover images after database failure or reset that are still available on your server.
  • Use the file explorer to quickly rebuild your Media Library with a couple of clicks.
  • Hide all existing media already found in the Media Library.
  • Show different icons for existing, recovarable, selected and unavailable files for recovery.

Some known issues and limitations:

Does not work on WordPress multisite setup.

Works only with the default WordPress uploads folder wp-content/uploads

Recover maximum 10 images at a time and a single image file size cannot exceed 4MB; to cover the max_execution_time on most servers.

Original image files that have dimensions in the file name (e.g. icon-128×128.png) won’t apprea in the plugin file explorer.


The step-by-step setup, usage, demos, video, and insights can be found on Media Library Recovery.


As of yet, this plugin doesn’t have a commercial version available.


  • screenshot-0.(gif)
  • screenshot-1.(png)
  • screenshot-2.(png)
  • screenshot-3.(png)


The plugin installation process is standard and easy to follow. Please let us know if you have any difficulties with the installation.

Installation from WordPress

  1. Visit Plugins > Add New.
  2. Search for Media Library Recovery.
  3. Install and activate the Media Library Recovery plugin.
  4. You will be either redirected to the main plugin page or need to click on the plugin settings link.

Manual Installation

  1. Upload the entire wp-media-recovery folder to the /wp-content/plugins/ directory.
  2. Visit Plugins.
  3. Activate the Media Library Recovery plugin.
  4. You will be either redirected to the main plugin page or need to click on the plugin settings link.

After Activation

  1. Click on the Settings links or go to Media > Library Recovery.
  2. Select all the images you want to recover and hit the Recover Media button.
  3. Go to Media > Library and you will see the newly restored image.


As of right now, none.

Use the Support tab on this page to post your requests and questions.

All tickets are usually addressed within several days.

If your request is an add-on feature, we will add it to the plugin wish list and consider implementing it in the next major version.


2023年11月30日 3 回复
This is one of the only two plugins I could find to recover media files. The plugin works as expected. There are a couple things can be improved. I have over 1000 images and files to recover. Manually clicking 10 images at a time and hit the import button isn't going to do it. I'll be sitting there all day to do this. I wish there's a more efficient approach. Only images show up. It's also common to have PDF and some other types of file in the library. The plugin seems to ignore these files.
I've just transfer from old WP and change it to different domain name.And it works recover all files that allready in the folder but not showed in library, thanks
Had to move 3 websites, the WordPress Export from the media did leave the new library empty although the content/uploads folder was in place. This plugin made it possible to repair that


“Media Library Recovery” 是开源软件。 以下人员对此插件做出了贡献。


将“Media Library Recovery”翻译成您的语言。





  • Update – Update new development workflow and structure
  • Update – Remove some of classes and convert to function based
  • Update – CSS and some general styling


  • New – Add new development workflow and structure
  • New – Change namespace to match the developry structure
  • New – Add status for large files with new icon
  • New – Load thumbnails in file browser 150×150, if available
  • New – Move global variables out of the classes
  • New – Add some additional JS errors when recovering media
  • New – Add scaled image file name support
  • Update – Overall plugin and readme copy and text
  • Update – Improve UI and UX with a larger font size and max-width container
  • Update – Add file size limit to avoid 500 erorr of larger media files
  • Update – Remove and unnecessary dev code snippets and variables
  • Update – Move back all styles using SASS and SCSS files
  • Fix – Skip .. and . when looping the iterator


  • Update – Add proper translation stings
  • Update – Plugin .pot file in /lang folder
  • Update – Test and check functionality with WordPress 6.1
  • Update – Test and check functionality with WordPress 6.0


  • Update – Improved UI and functionality
  • Update – Better UX and new plugin framework


  • Update – Total revision of the plugin with improved code and UI
  • Fix – Added pagination with showing a maximum of 30 images per page
  • Fix – Improved page loading time by using thumbnails (where available)
  • Fix – Set a limit to be able to recover a maximum of 10 images at a time
  • Fix – Removed the confirmation code functionality
  • Fix – Loader image path


  • Initial release and first commit into the SVN