Closed AustinVaday closed 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)
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
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)