Can I store image on Firebase as file, instead of a data:url?

笑着哭i 提交于 2019-12-02 06:04:41

问题


I want to store image on firebase and want to use it somewhere. I went through this SO post and tried this demo.

It stores images as data:url format. But I want to upload and store images as physical file so I can use it further, something like this url http://example.com/some_image.png

Can I achieve this with Firebase?


回答1:


No. The Firebase API currently does not support storing files outside of its database.

Update: at Google I/O 2016 Firebase added Firebase Storage to its offering, which is a service dedicated to storing files.



来源:https://stackoverflow.com/questions/30054575/can-i-store-image-on-firebase-as-file-instead-of-a-dataurl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!