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

ImageUploader.UploadPaneShowDescriptions Property

Supported in: ActiveX , Java

Switch that specifies whether Edit Description elements should be displayed under each thumbnail in the upload list.

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("UploadPaneShowDescriptions", "true");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadPaneShowDescriptions(value);
value = getImageUploader("ImageUploaderID").getUploadPaneShowDescriptions();

Property Value

A boolean value (true or false). If true, the Edit Description elements are displayed under thumbnails in the upload pane, otherwise they are invisible. The folder pane is not affected with this property.

Default value is "true".

Remarks

Note

This property has a higher priority than the ShowDescriptions. It means that if UploadPaneShowDescriptions is set to false in the script used to embed Image Uploader, Edit Description elements will be invisible in the upload pane even through the ShowDescriptions is set to true.

If these fields are visible, users can write descriptions for files before the upload. Descriptions can be added only in the Thumbnails view. Other view modes do not support it.

If this property is enabled and some descriptions are added, they are uploaded along with the images. These descriptions are sent in Description_N POST fields (where N is the index of an image). So the upload processing script (specified with the Action property) must analyze these fields as well. If this property is set to false, these fields are not uploaded.

See Also

Manual

Reference