'how to save different size of an image in minIO?

I'm currently working on a ecommerce application with Nodejs & React.
I'm using minIO as s3 storage server and in order to make images more flexible and optimized in different screens and locations I was wonder if there's any possibility to save different sizes of an image like what we do with AWS lambda, instead of generating image sizes in backend server (nodejs) ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source