We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Pritam B.'s avatar
Pritam B.
New member | Level 1
11 years ago

Is there a way to get multiple image thumbnails in batches using Dropbox API?

Hi,

Is there a way to get image thumbnails in batches using the dropbox API? For example, this blog post describes a way how it was achieved by the official dropbox app. But it seems that this API is not available to third party developers.

I looked through the Android SDK documentation also. There seems to be no method which accepts an array of urls to provide multiple thumbnails in one call. Am I missing something?

Any help in this matter will be greatly appreciated, as downloading image thumbnails in batches will greatly improve the user experience for the third party apps.

Regards,

Pritam.

4 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    The Dropbox API doesn't currently offer a way to get thumbnails in batches like this, but I'll be sure to pass this along as a feature request.

  • Aaron F.16's avatar
    Aaron F.16
    New member | Level 1
    11 years ago

    If you are passing on requests, it would be nice to get back thumbnail urls in response to a metadata request, and to have them accessible without authentication, much like a media request. That would save at least one transaction per image, and speed up the other by allowing developers to put the thumbnail url directly in an <img> tag rather than using a base64 or blob url. Also, then the browser would cache, rather than the application.

    Maybe something like this:

    {
        "size": "225.4KB",
        "rev": "35e97029684fe",
        "thumb_exists": true,
        "thumb_url": "https://dl.dropboxusercontent.com/1/view/thumb/xxxxxx/mypic.jpg"
        "thumb_expires":  "Tue, 19 Jul 2011 23:55:38 +0000",
        "bytes": 230783,
        "modified": "Tue, 19 Jul 2011 19:55:38 +0000",
        "client_mtime": "Mon, 18 Jul 2011 16:04:35 +0000",
        "path": "/mypic.jpg",
        "is_dir": false,
        "icon": "page_white_acrobat",
        "root": "dropbox",
        "mime_type": "image/jpeg",
        "revision": 220823
    }
    

    Thanks,

    -A-

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Thanks for the request, I'll pass that along too!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 3 years ago
409 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!