Layout of Image Uploader panes.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("PaneLayout", "ThreePanes"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setPaneLayout(value); value = getImageUploader("ImageUploaderID").getPaneLayout();
A member of the following enumeration that specifies layout of Image Uploader panes:
String value | Integer value | Description |
---|---|---|
OnePane | 0 | Single upload list. You can drag-n-drop the necessary files from the Windows Explorer to this list. Also you can add files and folder using Add Files and Add Folders buttons respectively. |
TwoPanes | 1 | Folders tree + folder view (a list of the files in the selected folder). Each file has a checkbox which you need to check to select this file for upload. |
ThreePanes | 2 | Folders tree + folder view + upload list. Drag-n-drop the necessary files from the folder view or Windows Explorer to the upload list. Also you can use special buttons to do this. |
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 "ThreePanes".
Keep in mind that Image Uploader is not designed to switch between layouts in run-time.