我想在Firebase存储上获取图像的服务URL [英] I want to get serving url for my images on firebase storage

查看:50
本文介绍了我想在Firebase存储上获取图像的服务URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有可能获得诸如

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

这是通过使用Google App引擎完成的:

It's done by using google app engine:

images.get_serving_url(blobkey, secure_url=False)

我不想仅使用Firebase或UI来使用Google App Engine.

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

这可以实现吗?

谢谢!

我从这里获得了信息/想法:

I got the info/idea from here:

http://www.photo-mark.com/notes/photo-site-app-engine/所有App Engine的列表图片服务get_serving_url()URI选项

推荐答案

具有Firebase Storage(称为下载URL ).这是文件的公共(但不可猜测)URL.

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

请参阅有关如何获取 iOS 的下载URL的文档,网络

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

Firebase存储当前没有任何方法可以根据要求自动调整图像的大小/转码(或转换其他内容).

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

这篇关于我想在Firebase存储上获取图像的服务URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆