I just wanted to ask if there was a speedy of dynamically showing thumbnails of images uploaded on S3. Lets say profile pictures.
I have 3 sizes of these pictures being shown Actual, 150x150 and 25x25. At the moment I am dynamically resizing them on the fly on my server - not S3.
http://www.mydomain.com/images/25X25/image.jpg
Above is a URL that checks if a thumbnail exists and if not generates it. I allow only 3 sizes at the moment.
Soon we would be shifting to S3. Is such thing possible at S3 also - do I have to get the original image, resize it and then reupload on S3 - all on the fly - of course with cache enabled?
Or should I do this when I upload the actual image itself - make 2 more thumbnails (with easily readable filename lile image_25_25 and image_150_150) and upload those too along with it?
So eventually every upload results in
https://bucket.s3.amazonaws.com/image.jpg
https://bucket.s3.amazonaws.com/image_25_25.jpg
https://bucket.s3.amazonaws.com/image_150_150.jpg
Which do you think is a good option? Or Suggestions please - will be really thankfull to you all (err - always am - such an amazing place this is to get help!)
Cheers!