cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multiple image previews needed for Dropbox integration with Ruby on Rails web app. (Chooser like functionality)

Multiple image previews needed for Dropbox integration with Ruby on Rails web app. (Chooser like functionality)

Aditya S.
New member | Level 1

I want to integrate Dropbox with my Ruby on Rails app. I want users to choose files which they want to import in the web app. Is there any way to get links to preview/thumbnail of multiple images. I want something like Chooser but the design will be my custom design so I need links for image thumbnails to display on my web page. Please guide me how to achieve this.

3 Replies 3

Steve M.
Dropbox Staff

The /thumbnails endpoint can get you a thumbnail for an image.

Greg-DB
Dropbox Staff

To elaborate, you can use /thumbnails to get a thumbnail for an image as Steve said, but there's currently no way to get multiple thumbnails via a single API call, so you'll need to call /thumbnails repeatedly as necessary. We're tracking this as a feature request though.

Greg-DB
Dropbox Staff
The Dropbox API now offers the ability to get thumbnails in batches:

https://www.dropbox.com/developers/documentation/http/documentation#files-get_thumbnail_batch

If you're using an official SDK, there will also be a corresponding method for this endpoint.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Steve M. Dropbox Staff
What do Dropbox user levels mean?