Skip to content

Customizing lambda template to pull image from url instead of S3 bucket #493

Discussion options

You must be logged in to vote

For anybody looking at this later:

I have successfully implemented similar changes as this fork: https://github.com/stocktwits/serverless-image-handler to take in a URL.
Now, I am trying to figure out how to increase the lambda response payload limit (6MB) for big images by updating the handler function in image-handler/index.ts to stream responses to benefit from the 20MB payload limit.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simonkrol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant