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

Uploader.EnableAutoRotation Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether the automatic EXIF-based photo rotation feature is enabled.

Syntax

PHP
public function getEnableAutoRotation() {
}

public function setEnableAutoRotation($value) {
}

Property Value

Type: boolean

If true, Image Uploader automatically extracts the orientation information from an image and automatically rotates it. Otherwise, only manual rotation is available.

Default value is false.

Remarks

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

See Also

Reference