From 42fa47e8f780e50392ca2b2289f58d2f6b840c86 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Mon, 18 Jun 2012 20:53:46 -0600 Subject: rotate uploaded images if an EXIF rotation is present --- mod/photos.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod') 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(); -- cgit v1.2.3