Switch that specifies whether to display rotate 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("AllowRotate", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setAllowRotate(value); value = getImageUploader("ImageUploaderID").getAllowRotate();
A boolean value (true
or false
). If true
,
rotate icons (arrows) are visible when the user hovers a mouse pointer over the thumbnail, and therefore
the user can rotate the images. Otherwise, these icons are not displayed and the user cannot
rotate the images manually.
Default value is "true".
Regardless to this property value arrows are not displayed on the files which are not recognized as images.
Even if rotate icons are disabled, it is still possible to rotate an item either through JavaScript via the UploadFileAngle property, or automatically (based on EXIF information) using the AllowAutoRotate property.