Switch that specifies whether to display subfolders in the folder pane along with files.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("ShowSubfolders", "false"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setShowSubfolders(value); value = getImageUploader("ImageUploaderID").getShowSubfolders();
A boolean value (true
or false
). If true
,
subfolders are visible in the folder pane, otherwise only files are displayed.
Default value is "false".
When subfolders are visible the user can navigate to these subfolders by double-clicking them. You can use the AllowFolderUpload property to configure Image Uploader to select whole folders for upload.