Hacker News new | ask | show | jobs
by roachsocal 5654 days ago
Right now we're hosting it because it makes setup / integration time very quick. We're considering going open source for those who want to setup a box to do this yourself.

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.

1 comments

Would this service support direct uploads to S3?
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)