I want to get serving url for my images on firebase storage

£可爱£侵袭症+ 提交于 2021-02-08 17:23:40

问题


It is possible to get a serving url like http://lh3.googleusercontent.com/-dB80E6geqWFVU41ZmWL1iGC0BkCDcXAGojwaAgMHG-wMe_xCpISffiaNy00Y6ATJ2J9_W_I8rMgwQYWQQyGcFuffw=s1024

It's done by using google app engine:

images.get_serving_url(blobkey, secure_url=False)

I don't want to use Google App Engine, just Firebase or the UI.

Can this be accomplished?

Thanks!

I got the info/idea from here:

http://www.photo-mark.com/notes/photo-site-app-engine/ List of all the App Engine images service get_serving_url() URI options


回答1:


With Firebase Storage that is known as a download URL. It is a public (but unguessable) URL for the file.

See the documentation on how to get download URLs for iOS, Web and Android.

Firebase Storage doesn't currently have any way to automatically resize/transcode images (or transform other content) upon request.



来源:https://stackoverflow.com/questions/37932276/i-want-to-get-serving-url-for-my-images-on-firebase-storage

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