Aurigma Image Uploader 5.8 Dual
ImageUploader.AllowAutoRotate Property
See Also Supported in: ActiveX Java

Switch that enables automatic EXIF-based photo rotation feature.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("AllowAutoRotate", "false");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setAllowAutoRotate(value);
    value = getImageUploader("ImageUploaderID").getAllowAutoRotate();

##### Property Value

A boolean value (`true` or `false`). If `true`, Image Uploader tries to extract EXIF information from files and if it finds information about image orientation, automatically rotate it. If `false`, EXIF data is disregarded and only manual rotation is available.

Default value is "false".

# Remarks

This feature works only for those photos which store EXIF information and orientation details are written there. Keep in mind that not each camera can recognize orientation properly, and therefore Image Uploader will not be able to rotate it.

# See Also

##### Examples

Resizing and Rotating Images
Working with EXIF and IPTC Metadata

##### Reference

AllowMultipleRotate Property
AllowRotate Property
FolderPaneAllowRotate Property
UploadFileAngle Property
UploadPaneAllowRotate Property