I face a big problem. I’ve launch my app since a few months. People can add photos, so they did. 3500 photos. I had the bad surprise to receive a bubble email saying “you’ve using 7go on the 10go allowed for storing”
So I changed things, now picture uploaded by users are not full size and instead of 3mb each photo it is some dozen of kbs.
But what I need to solve now is compress the previous uploaded photos and get them in the right field. I don’t have in mind a strategy for this and I hope someone could have an idea to make it like some kind of batch, because If I need to do it one by one, I’m gonna spend all my nights on it for the next months
Are you currently using an API to resize uploaded images? If so, maybe you could run a recursive workflow on the existing ones with the same API service and overwrite the original.
I haven’t used the API myself, but I’ve used www.tinypng.com manually a lot for single images, blog posts, etc. Can’t speak from experience on the API, but could be worth checking out.
It can resize in addition to compressing, so should get you covered. They also have some smart features like recognizing the object of the photo and avoiding cropping a face for example.