Switch that specifies whether to display remove icons on preview thumbnails.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("EnableRemoveIcon", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setEnableRemoveIcon(value); value = getImageUploader("ImageUploaderID").getEnableRemoveIcon();
A boolean value (true
or false
). If true
,
remove icon (cross) is visible when the user hovers a mouse pointer over the thumbnail, and therefore
the user can remove the image. Otherwise, the icon is not displayed and the user cannot
remove images from upload list manually.
Default value is "true".