在Dropbox的图像托管 [英] Hosting images on Dropbox
问题描述
我在寻找一个从我工作的一个Web服务主机的图像的服务器。此WebService将需要访问图像很多次,我会上传4GB左右,每天形象展现给用户。我的想法是在那里举办的图像,并得到公众的链接放在HTML
I'm looking for a server for hosting images from a webservice that i'm working on. This webservice will need to access the images many times, I'll upload about 4GB of images per day to show to the users. My idea is to host the images over there and get the public links to put on the HTML.
所以我想知道,如果Dropbox是一个这样的工具充足,因为我正在研究的Dropbox API,我认为它不提供足够的工具来获取图像的公共链接。
So I'd like to know if Dropbox is an adequate tool for this, because I was studying the Dropbox API and I think It doesn't offer adequate tools to get the images's public link.
总结我的问题,是这类主机对于这类服务或不是?
Summarizing my question, are these kind of hosts for this kind of services or not?
推荐答案
至于其他的意见,并回答说,一个正常的CDN可能是这一个更好的选择。
As the other comments and answers say, a normal CDN is probably a better choice for this.
虽然作为参考,Dropbox的API并让你公开共享的文件的链接:
For reference though, the Dropbox API does let you get publicly shareable links to files:
https://www.dropbox.com/developers/core/docs#shares
您还可以根据需要修改这些链接:
You can also modify these links as desired:
https://www.dropbox.com/help/201
还有一个直接的和暂时的版本:
There's also a direct and temporary version:
https://www.dropbox.com/developers/core/docs#media
不过请注意,有这些链接的带宽限制:
Note however that there are bandwidth limits on these links:
https://www.dropbox.com/help/4204
此外,API使您能够直接访问文件内容:
Also, the API enables you to access file content directly:
https://www.dropbox.com/developers/core/docs#文件-GET
这篇关于在Dropbox的图像托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!