Class elFinderPluginAutoRotate
elFinder Plugin AutoRotate Auto rotation on file upload of JPEG file by EXIF Orientation. ex. binding, configure on connector options $opts = array( 'bind' => array( 'upload.presave' => array( 'Plugin.AutoRotate.onUpLoadPreSave' ) ), // global configure (optional) 'plugin' => array( 'AutoRotate' => array( 'enable' => true, // For control by volume driver 'quality' => 95, // JPEG image save quality 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ), // each volume configure (optional) 'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => '/path/to/files/', 'URL' => 'http://localhost/to/files/' 'plugin' => array( 'AutoRotate' => array( 'enable' => true, // For control by volume driver 'quality' => 95, // JPEG image save quality 'offDropWith' => null, // Enabled by default. To disable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array 'onDropWith' => null // Disabled by default. To enable it if it is dropped with pressing the meta key // Alt: 8, Ctrl: 4, Meta: 2, Shift: 1 - sum of each value // In case of using any key, specify it as an array ) ) ) ) );
- elFinderPlugin
-
elFinderPluginAutoRotate
License: BSD
Author: Naoki Sawada
Located at zp-extensions/elFinder/php/plugins/AutoRotate/plugin.php
public
|
|
public
|
getCurrentOpts(),
iaEnabled()
|
$opts
|