node-imager now supports amazon S3

September 25, 2012

In my previous post I described how to use node-imager to upload images (with different presets) to rackspace cloudfiles. Today I have added support for amazon S3.

To use S3 as your storage, add the below in the imager config

storage: {
  S3: {
    key: 'API_KEY',
    secret: 'SECRET',
    bucket: 'BUCKET_NAME'
  }
}

and specify S3 while initializing imager

var imager = new Imager(imagerConfig, 'S3')

Resources: