Aurigma Image Uploader 6.0 Dual
Thumbnail.View Property
See Also Supported in: ActiveX Java

View mode of this Thumbnail instance.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var tw = new ThumbnailWriter("ThumbnailID", 610, 500);
    //...other params...
    tw.addParam("View", "Thumbnails");
    //...other params...
    tw.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ThumbnailID").setView(value);
    value = getImageUploader("ThumbnailID").getView();

##### Property Value

A member of this enumeration that specifies how to display this thumbnail:

String value | Integer value | Description
--- | --- | ---
Thumbnails | 0 | Images are displayed as thumbnails, non-images are displayed as icons. It is possible to edit descriptions for each file. If a file is recognized as image, it can be rotated by clicking appropriate icons.
Icons | 1 | All files are displayed as icons.
List | 2 | All files are displayed as a simple list (icon + FileName).
Details | 3 | All files are displayed as a detailed list (icon + FileName + size + file type + last modification date).
AdvancedDetails | 4 | Combination of `Thumbnails` and `Details`. Images displayed as thumbnails and detailed information is displayed in a table. This view mode can be used only in upload pane in `OnePane` and `ThreePanes` layouts.

Note
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).

Default value is "Thumbnails".

# Remarks

When `Details` or `List` modes are used, thumbnail is displayed as a small icon. No titles/captions are displayed.

Thumbnail size is taken from the parent ImageUploader control (using the PreviewThumbnailSize property).

# See Also

##### Examples

View Modes

##### Reference

PreviewThumbnailSize Property