Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -774,6 +774,13 @@ class Upload extends FormAbstract
|
||||
$hasBeenResized = $image->resizeToMax( $options['image']['maxWidth'] ?? NULL, $options['image']['maxHeight'] ?? NULL );
|
||||
}
|
||||
|
||||
/* If we rotated the image at this point, reset the image orientation so that
|
||||
we don't rotate it an extra time */
|
||||
if( $image->hasBeenRotated )
|
||||
{
|
||||
$image->setImageOrientation( 1 );
|
||||
}
|
||||
|
||||
/* If type JPG, image handler may strip meta data on image output */
|
||||
if( $hasBeenResized OR $image->hasBeenRotated OR $image->type == 'jpeg' )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user