mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 01:34:31 +02:00
Add @horst-n ImageSizer fixes for image orientation/rotation
This commit is contained in:
@@ -169,10 +169,10 @@ class ImageInspector extends WireData {
|
||||
'2' => array(0, 1),
|
||||
'3' => array(180, 0),
|
||||
'4' => array(0, 2),
|
||||
'5' => array(270, 1),
|
||||
'6' => array(270, 0),
|
||||
'7' => array(90, 1),
|
||||
'8' => array(90, 0)
|
||||
'5' => array(90, 1), // OLD: 270
|
||||
'6' => array(90, 0), // OLD: 270
|
||||
'7' => array(270, 1), // OLD: 90
|
||||
'8' => array(270, 0) // OLD: 90
|
||||
);
|
||||
$result = array('orientation' => 0, 'rotate' => 0, 'flip' => 0);
|
||||
$supportedExifMimeTypes = array('image/jpeg', 'image/tiff'); // hardcoded by PHP
|
||||
|
Reference in New Issue
Block a user