Cloud Storage Integrator 2016 PHP Edition
Cloud Storage Integrator 2016 PHP Edition
Questions / Feedback?

GetThumbnail Method

Gets a thumbnail image.

Object Oriented Interface

public function doGetThumbnail();

Procedural Interface

incloudstorage_dropbox_do_getthumbnail($res);

Remarks

This method retrieves a thumbnail image for the resource specified by ResourcePath. This is only applicable to images (.jpg, .jpeg, .png, .tiff, .tif, .gif and .bmp). Before calling this method ThumbnailFormat and ThumbnailSize may be set to specify the format and size of the thumbnail. If the original image is over 20 MB in size no thumbnail will be generated.

Example:

dropbox.ResourcePath = "/My Photos/tree.jpg";
dropbox.LocalFile = "../../tree_thumb.jpg";
dropbox.ThumbnailSize = DropboxThumbnailSizes.dts128x128;
dropbox.GetThumbnail();

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 PHP Edition - Version 16.0 [Build 7239]