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

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<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 CopyCode imageCopy Code
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

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

Examples
Customizing Appearance
One Pane Layout
Three Panes Layout

Reference
DescriptionsReadOnly Property
FolderPaneShowDescriptions Property
MaxDescriptionTextLength Property
ShowDescriptions Property
UploadPaneAllowRotate Property
UploadPaneBackgroundColor Property
UploadPaneBorderStyle Property
UploadPaneSortMode Property
UploadView Property
ParentControlName Property