Re:Image manipulation on the fly + CDN = awesome
by bitsm on Tuesday December 21, 2010 @01:42PM
(#2028800)
Would this service support direct uploads to S3?
Re:Image manipulation on the fly + CDN = awesome
by traviskuhl on Tuesday December 21, 2010 @02:17PM
(#2028939)
Yes. Currently our API supports pushing images to your S3 account (http://cdnimag.es/#anc_20). You can also use our clients for quicker integration (https://github.com/traviskuhl/cdnimages-clients/. currently only PHP, but we have a Perl & Ruby client coming soon)
Here's an example of how we use it: We push original high resolution versions of photos/graphics to S3. Then to make a page with smaller, cropped thumbnails, it's as easy as calling for the image through Cloudfront with a special cdnimag.es url. (example integation: http://www.seewhatiwore.com/browse)
You'll notice with a site like Flickr, they generate five fixed sizes and they are locked into those sizes across their site. (example: http://www.flickr.com/photos/rappensuncle/183689226/sizes/l/...)
With cdnimag.es you can generate variations of the original image (sizes, crops, grayscale, reflection) on the fly without doing anything to the original. All this while still enjoying the caching and performance benefits of a CDN like Cloudfront.