View mode of this Thumbnail instance.
<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>
getImageUploader("ThumbnailID").setView(value);
value = getImageUploader("ThumbnailID").getView();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 |
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".
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).