简体   繁体   English

如何使用Dropbox API显示完整的相册?

[英]How to use Dropbox API to display complete photo albums?

I am working on a web-based photo selections/proofing application integrated with dropbox. 我正在研究与Dropbox集成的基于Web的照片选择/校样应用程序。 I am stuck at how to efficiently fetch and display a complete folder in my application of like 3000+ photos. 我被困在如何有效地获取和显示3000张以上照片的完整文件夹中。 What are the API methods and techniques to achieve this efficiently? 有哪些API方法和技术可以有效地实现这一目标?

I have tried generating share links individually but it takes ages to load all data on a normal internet connection.Like more than an hour. 我曾尝试过单独生成共享链接,但是要花很长时间才能在正常的互联网连接上加载所有数据。就像一个多小时一样。

Isn't there any method in API to fetch all file links in a single request? API中没有任何方法可以在单个请求中提取所有文件链接吗? With some parameters to fetch them in lower resolution in case of heavy images. 如果图像较重,可以使用一些参数以较低的分辨率获取它们。 I am sure it would reduce the album loading time to less than 5 minutes in my application. 我确信它将在我的应用程序中将专辑加载时间减少到少于5分钟。

No, the Dropbox API unfortunately doesn't currently offer batch calls for getting links or thumbnails. 不,遗憾的是,Dropbox API当前不提供用于获取链接或缩略图的批处理调用。 We'll consider this a feature request. 我们将其视为功能请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM