Create thumbnails on upload

Jul 10, 2009 at 8:25 AM

Is there any best practice how you can create thumbnails out of the images being uploaded directly to Amazon S3? I will give an example -

User uploads 50 MB Jpeg to(5000x2500 pixesl) to  Amazon S3 bucket using the Direct Uploader - say, "Image.jpg"

At complete time I want to have 2 more thumbnail files (say, "Image_thumb.jpg, "Image_mini_thumb.jpg") that have the main image resized to , say, 100x50 and 50x25 pixels.

I want to avoid subsequent request from server to Amazon to get the image as bitmap, since the files will be very big and the process will be slow.

 

Kind Regards,

Rumen Stankov