.png or as .jpg that can be used in
an application as a representation of the file, for example as a placeholder for
a link that downloads or previews the file.
All thumbnail representations except 1024x1024 and 2048x2048 PNGs are
generated upon uploading the source file to Box.
The process
To get a thumbnail representation follow the following steps- by passing the
x-rep-hints-header for the desired thumbnail format and size, for example[jpg?dimensions=32x32]. - by calling the
url_template, replacing the{+asset_path}with an empty string.
Examples
The following a some examplex-rep-hints-header values
Supported file sizes
The following formats and sizes of thumbnails are available.
Some restrictions apply to the sizes marked as
*.
File size restrictions
JPEG 2048x2048
The JPEG 2048x2048 size is only available when the
original file is a JPEG. We recommend either requesting a PNG or both a PNG
and a JPEG for this dimension.
Video files
JPEG2048x2048, PNG 2048x20148 and PNG 1024x1024 representations are not
available for video files.
