Move media back from S3

By default, all images on our web site are automatically moved to S3 (cloud servers run by Amazon). This happens seamlessly in the background, but occasionally it’s a problem for a plugin (e.g., for slideshows with custom image sizes).

These instructions will let you move specific images off of S3 to the default WordPress server.

This is an advanced process, and carries the risk of deleting the image altogether if done incorrectly or in the wrong order. If you’re not sure of the process or run into trouble, please ask David Purdy.


Find the images you want to move in the Media Library.

MediaLibrary


To move images one at a time

Click an image in the library.

MediaLibraryItem


In the lower right of the popup window with image details, click “Copy to Server from S3”

Note, sometimes this step takes a while. When it is finished, the Media Library will reload and you will have to locate the same image again to complete the process. 

IndividualCopyToServerLink


Locate the same image in the media library, and click on it again.

MediaLibraryItem


In the lower right of the popup window, click “Remove from S3”

If that link is not available, wait 5-10 minutes – sometimes it takes a while for the previous step to complete. 

IndividualRemoveFromS3Link


Important: Click “Yes” in the “Find and replace links…” popup window.

Never click “No” in this window.

ReplaceURLsButton


To move multiple images at once

This process can be slow – if it looks like a step isn’t working, wait 5-10 minutes and check again. 


Click the “Bulk Select” button at the top of the Media Library.

BulkSelectButton


Select the images you want to move.

Click an image once to select it; click a selected image again to de-select it.

BulkMediaSelection


Click the “Copy to Server from S3” button in the upper right.

BulkCopyToServerFromS3


Wait for the spinning progress indicator in the upper right to go away.

This can take a while – sometimes even after the progress indicator goes away it is still not done and needs more time. BulkCopyProgressIndicator


When the progress indicator is done, the images will be de-selected. Click “Bulk Select” again.

BulkSelectButton


Select the exact same images again.

BulkMediaSelection


Click the “Remove from S3” button.

BulkRemoveFromS3


Important: if you get this popup, always click “Cancel.”

Then wait a few minutes, refresh the page, and try again.

FilesDoNotExistLocally


After clicking cancel and refreshing the page, select the same images and try clicking “Remove from S3” again.


Important: Click “Yes” in the “Find and replace links…” popup window.

ReplaceURLsButton


It can take a while to move multiple images (especially if there are a lot of them). To check if an image has been moved, click on it in the media library and check the “URL” field on the right.

After it has been moved, the URL should start with “http://www.ktoo.org” (before it has been moved, it will start with something like “http://s3-us-west-2.amazonaws.com”)

Before the image has been moved:

AmazonImageURL

After the image has been moved:

KTOOImageURL


Once all the images have been moved, check your slideshow or other plugin to confirm that it is working properly. If it is not, check with David.