mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 18:24:57 +02:00
Add @horst-n ImageSizer fixes for image orientation/rotation
This commit is contained in:
@@ -563,10 +563,10 @@ class ImageSizer extends Wire {
|
||||
'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
|
||||
);
|
||||
if(!function_exists('exif_read_data')) return null;
|
||||
$exif = @exif_read_data($filename, 'IFD0');
|
||||
|
Reference in New Issue
Block a user