Join Joseph LeBlanc for an in-depth discussion in this video Loading thumbnails, part of Up and Running with Cloud Storage APIs.
Before downloading an entire image, it's helpful to get a thumb nail for previews.…The Dropbox API can generate thumbnail images automatically.…Let's go to the exercise files and get our application.…Go to chapter o4, video 05, start, and then copy the app folder into the server folder.…Now, let's take a look at this in the Text editor.…First, let's go to App views layout.jade. Starting on line nine, the layout has changed.…We're first making sure that the file actually has a thumbnail.…
If the file is actually a folder, it won't have a thumbnail.…If the file does have a thumbnail, we start a div.…We're applying a span three class from the Bootstrap framework.…Finally, on line 11, we display the thumbnail.…Our application needs a thumbnail route. This thumbnail route will go to the…Dropbox API and get the thumbnail for us. Next, we're adding the name of the photo…as a parameter. We're using the file path as that parameter.…And then finally, we're applying the image polaroid class from the bootstrap framework.…
- Why use cloud storage?
- Granting access to Amazon S3 buckets
- Displaying bucket contents
- Downloading files immediately
- Creating a Dropbox application
- Finding, downloading, and uploading files
Skill Level Beginner
1. Cloud Storage Overview
2. Accessing Amazon S3 Buckets via REST
3. Other Container-Based Services
4. Creating Dropbox Apps
5. Other App-Driven Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.