diff options
author | friendica <info@friendica.com> | 2012-06-18 20:10:11 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-18 20:10:11 -0700 |
commit | 633726e4a90c1bb931967206117e59ca6fe20bb2 (patch) | |
tree | 6568c11b82c69868b0890092c8df68a004d41b0f /mod/photos.php | |
parent | 9374e1966fcb42ca45e6af788852be0aafd4e34e (diff) | |
parent | 7cd516e34f95945b7f15f42cfe7318dfd907c8d8 (diff) | |
download | volse-hubzilla-633726e4a90c1bb931967206117e59ca6fe20bb2.tar.gz volse-hubzilla-633726e4a90c1bb931967206117e59ca6fe20bb2.tar.bz2 volse-hubzilla-633726e4a90c1bb931967206117e59ca6fe20bb2.zip |
Merge pull request #341 from fermionic/auto-orient-uploaded-images
rotate uploaded images if an EXIF rotation is present
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php index a6552994e..4fa8aca08 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -718,6 +718,7 @@ function photos_post(&$a) { killme(); } + $ph->orient($src); @unlink($src); $width = $ph->getWidth(); |