Image optimization is a checkbox on cloudfront, so that part is covered by AWS
but there are more customizable options that would be helpful and being able to add a lambda function of any kind to the cloud functionality would expand the space immensely
In this particular case what is need is:
1. convert file types to webp from png/jpeg/jpg as they are uploaded
2. possibly resize them to make them fit to a certain aspect ratio
I've already solved this issue outside of the spryker cloud: https://github.com/ed42311/serverless-lambda-image-optimize
Hi Edward,
Thank you for your idea 👍
- Jeremy Fourna