AustinVaday / Aquaint-iOS

Social networking for social media.
https://www.aquaint.io
1 stars 0 forks source link

To do: Determine best way to store image on infrastructure #5

Closed AustinVaday closed 8 years ago

AustinVaday commented 8 years ago

Method 1: Store URL in Firebase JSON Upload image to AWS s3 using Filestack: https://www.filestack.com/docs/storage/ (Highly scalable)

Method 2: Store base-64 string in Firebase JSON Convert base-64 string to UIImage : http://stackoverflow.com/questions/13955813/how-can-i-view-and-store-images-in-firebase (Slower, lower quality)

AustinVaday commented 8 years ago

Method 2 was selected. 1) Scale image down to 120x120px. This should be enough because we never display an image larget than 100px. 2) Convert to base-64 string 3) Store on server