I want to know how you manage the upload of a big image with AWS S3.
The code to upload is not the problem and it’s not the topic of this post.
I have a profile image upload on my website. For now, I upload the original image from the client to S3.
But when I show this image, it can be very large. (So the browser takes time to load it)
So how to manage this process ?
What is the best solutions :
- Resize the image on the client and send to S3 (What format and what size ?)
- Resize on the server and upload to S3
- Don’t resize before send to S3, but resize on the fly.