rotate uploaded images if an EXIF rotation is present
This commit is contained in:
@@ -718,6 +718,7 @@ function photos_post(&$a) {
|
||||
killme();
|
||||
}
|
||||
|
||||
$ph->orient($src);
|
||||
@unlink($src);
|
||||
|
||||
$width = $ph->getWidth();
|
||||
|
||||
Reference in New Issue
Block a user