Keeping WordPress Media Library updated even after a server move.
- Place the
move.php
script inside of a folder containing images containing both the Original and WordPress auto-generated thumbnails. - Run the script by navigating to it in the browser. All WordPress generated images will be moved to the
./thumbnails/
subfolder, all remaining images in your original folder are original images. - Upload all Original images to your server.
- Install Add From Server Plugin to WordPress.
- Select all original images within the Add From Server interface and import.