View mode of this Thumbnail instance.

Syntax

Initialize

JavaScript

<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

getImageUploader("ThumbnailID").setView(value);
value = getImageUploader("ThumbnailID").getView();

Property Value

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

String valueInteger valueDescription
Thumbnails0

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.

Icons1

All files are displayed as icons.

List2

All files are displayed as a simple list (icon + FileName).

Details3

All files are displayed as a detailed list (icon + FileName + size + file type + last modification date).

AdvancedDetails4

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).