We have a new plugin that looks for remote media embedded in a post and pulls it into the WordPress media library, checking for duplicates in the process.
This is still an experimental plugin – make sure you save your work outside WordPress and if you use it, check that it worked right.
Check the “Import remote media” checkbox
In a post with remove media, click the checkbox above the Publish button: “Import remote media on next update/save”

Click the “Save” button
Technically it will work if you click Publish (or Update on a post that’s already been published), but you should probably check that it worked properly before publishing.

The import process can take up to a couple of minutes. During that time, you won’t be able to edit the post and you’ll see the following screen.

If it gets stuck on that screen for too long (it can take 5-10 minutes to do an import, depending on server load at the time), you can click the “Stop importing media for this post.” It will take a few seconds to cancel, and when the screen goes away and you can edit the post again, some of the remote media might have been imported to the media library but not replaced in the post, or fully replaced.
Check that remote media has been imported
Click on an image to select it and click the pencil icon from the popup

If the image is in the media library, there should be two buttons underneath the image in the details popup: Edit Original and Replace.
If those buttons are not there, the image is probably still remote and the import didn’t work. (Please let David know and manually import it as you normally would).
