I have a mobile app where users upload images they take with the camera to an API endpoint defined in Bubble. Then other users view these images on a Bubble web page. This all works great.
However, sometimes the phone is not oriented correctly when the photo is taken, so the user viewing the web page want to rotate the images. Does anyone have an idea how to rotate the image AND save the rotated image back to S3 so that it will also be rotated correctly for other users?
I have figured out that Imgix supports rotation, so I can add “rot=90” to the image URL, but then I have to keep track of this information together with the image. I would prefer to store the rotated image back to S3, get the URL of that image and use that instead of the old one.