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

ImageUploader.UploadView Property

Supported in: ActiveX , Java

View mode for the upload pane.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadView", "Thumbnails");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadView(value);
value = getImageUploader("ImageUploaderID").getUploadView();

Property Value

A member of this enumeration that specifies the border style of the upload view:

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

Upload pane is visible only in ThreePanes layout.

See Also

Manual

Reference