2

I have a WordPress site that uses the WPRO (WordPress Read Only) plugin to host all media files on Amazon S3. I've changed the thumbnail and image sizes in my custom theme, and uploading new images to the media library uses the new sizes. However, when I try to regenerate all thumbnails using "Regenerate Thumbnails," it doesn't work, often complaining that the original cannot be found.

How can I force the regenerate thumbnails plugin to use the original image on S3 to recreate the thumbnails for existing images?

2 Answers 2

1

You can''t in any automatic way. originals should always be stored on the wordpress server, never remove them.

If you still have the originals anywhere then the only way is to manually place them at the right location in which they wnere

1
  • 1
    The originals are stored on S3. They never exist n the WP server, as they're processed in a temp directory and pushed to S3...
    – Avishai
    Commented Sep 30, 2016 at 15:47
1

As Mark states in his answer there is not a good way to do this using plugins. I ended up manually moving files back to the server so regenerate plugin could find them. I also made sure to change the settings and keep files on the server for now - lesson learned! As the site grows I will write some kind of backup to offload them but keep the directory structure intact.

If you use cloudfront, S3 offload will append another key to the URI which makes it tedious to click and get everything back into it's uploads/yyyy/mm dir. I used Cyberduck SFTP / S3 as a GUI that did make this manual effort a bit easier

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.