This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UploadPaneAllowRotate Property

Supported in: ActiveX , Java

Switch that specifies whether to display rotate icons on thumbnails in the upload pane.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadPaneAllowRotate", "true");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadPaneAllowRotate(value);
value = getImageUploader("ImageUploaderID").getUploadPaneAllowRotate();

Property Value

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".

Remarks

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.

See Also

Manual

Reference