This is how I upload to Firebase. But it takes a while to fetch it back. Also while saving it too, that\'s why I tried asynchronising the process.
if imagePathTo
What is the proper way of handling image storage to Firebase?
As covered in many questions before: the Firebase JSON Database is not a good fit for storing images.
The best way to handle user-generated images is to store them on a dedicated files/image storage service and then store the URL of that service in your Firebase Database.
Update: At I/O 2016 Firebase introduced Firebase Storage, which is a perfect fit for storing images.