Skip to content

resize image on lambda, and prevents recursive invoking to avoid unnecessary billings

Notifications You must be signed in to change notification settings

jhnlynn/image-resize-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Resize upladed images to s3 bucket with given sizes, and uploades new images back to bucket

Environment Variables

IMAGE_SIZES - formax 200x200 or 200x200,300x300
SAVE_WITH_ASPECT_RATIO - true or false
MAGE_EXTENSION - png or jpg, etc
UPLOAD_DIRECTORY - s3 bucket sub directory
AWS_BUCKET - bucket where your trigger is
AWS_TARGET_BUCKET - target bucket to store the resized image

About

resize image on lambda, and prevents recursive invoking to avoid unnecessary billings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published