Image Uploader has three different-looking layouts that determine its appearance. To specify, which one of them should be used, set the PaneLayout property.
Consists of the upload list with drag-and-drop support. This list allows specifying one of the five view modes.
In one pane layout mode, Image Uploader displays a single panel, which represents a list of files selected for upload. The user can fill this list by dragging files and dropping them onto the panel.
This layout may be convenient in custom applications, which are written in languages, other than HTML.
To upload files in this layout, follow these steps:
To set the one pane layout mode, use the PaneLayout property:
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploader", 710, 500); //...Other params and event handlers iu.addParam("PaneLayout", "OnePane"); //...Other params and event handlers iu.writeHtml(); </script>
You can customize this layout in the following ways:
In this mode, the sort order of images in the upload pane determines the upload order. The sort order can be set using the UploadPaneSortMode property during initialization of Image Uploader or in run-time. The user can change the sort order via the context menu or dragging images onto the pane.
Consists of the folder tree and the folder content list. The folder content list allows specifying one of the four view modes.
Two panes mode is a classic layout which came from Aurigma Image Uploader 1.0 for ActiveX. Usage experience shows that it is the most friendly one to computer novices. In this mode, on the left side one see the folder tree and on the right side - the content of the selected folder. The user simply needs to check all files they want to upload and click the Send button.
The only shortcoming of this layout is that when the user navigates to another folder, the checked files become unchecked, so the files can be uploaded only from one folder at a time.
To upload files in this layout, follow these steps:
To set the two panes layout mode, use the PaneLayout property:
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploader", 710, 500); //...Other params and event handlers iu.addParam("PaneLayout", "TwoPanes"); //...Other params and event handlers iu.writeHtml(); </script>
You can customize this layout in the following ways:
Consists of the folder tree, the folder content list, and the upload list with drag-and-drop support. The folder content list and the upload list allow specifying one of the view modes.
This layout is a combination of the two others. It joins flexibility of the one pane layout and convenience of the two panes layout. The left pane contains the folder tree (like in two pane mode), the upper right pane displays files in the selected folder, and the lower right pane is the upload list (like in one pane mode). Unlike in the two panes mode, the user does not check necessary files. Files for upload should be dragged from the folder content pane onto the upload pane. They can also be dragged from other windows.
To upload files in this layout, follow these steps:
To set the three panes layout mode, use the PaneLayout property:
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploader", 710, 500); //...Other params and event handlers iu.addParam("PaneLayout", "ThreePanes"); //...Other params and event handlers iu.writeHtml(); </script>
You can customize this layout in the following ways:
In this mode, the sort order of images in the upload pane determines the upload order. The sort order can be set using the UploadPaneSortMode property during initialization of Image Uploader or in run-time. The user can change the sort order via the context menu or dragging images onto the pane.