Skip to content

About

A simple lambda that generates thumbnails from images dropped in an S3 bucket

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

thumbnailer

A small NodeJS based Lambda that creates thumbnails from an image that is uploaded to S3.

You need to configure the S3 trigger yourself and add the following environment variables to your Lamda function.

Environment variables

Variable Description Example
DSTBUCKET The bucket to send the result to testbucket
DSTPATH The path in the new bucket to place the files thumbnails
SIZES A comma seperated list of widths 400,800,1200
CLEANUPSOURCE Should the source image be deleted? true/false
ACL Any custom ACL to apply public-read
COPYORIGINAL Copy the original to the destination bucket true/false

About

A simple lambda that generates thumbnails from images dropped in an S3 bucket

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages