This documentation is for the old version. Go to the latest Upload Suite docs

uploadPane.viewMode Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a view mode for the upload pane.

Syntax

JavaScript Initialize
$au.uploader({
    uploadPane: {
        //...other params...
        viewMode: "Thumbnails",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').uploadPane().viewMode(value);
value = $au.uploader('uploaderID').uploadPane().viewMode();

Property Value

Type: String

The view mode for the upload pane.

The following values are supported:

ValueDescription
ThumbnailsImages are displayed as thumbnails, non-images are displayed as icons. It is possible to attach a description to each file. If a file is recognized as image, it can be cropped and rotated.
TilesEach file appears as a thumbnail (or icon for non-image files), with a file name and details (file type, last modification date, and file size) on the right. It is possible to attach a description to each file. If a file is recognized as image, it can be cropped and rotated.
DetailsAll files are displayed as a detailed list (icon + filename + info + size + last modification date + type + image dimensions).
ListFiles are displayed as small thumbnails (or icons for non-image files) with names on the right.

Default value is "Thumbnails".

See Also

Reference

Manual