rotate uploaded images if an EXIF rotation is present
This commit is contained in:
parent
341a5a2672
commit
42fa47e8f7
2 changed files with 62 additions and 1 deletions
|
@ -718,6 +718,7 @@ function photos_post(&$a) {
|
|||
killme();
|
||||
}
|
||||
|
||||
$ph->orient($src);
|
||||
@unlink($src);
|
||||
|
||||
$width = $ph->getWidth();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue