aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-16 20:08:05 -0700
committerfriendica <info@friendica.com>2015-03-16 20:08:05 -0700
commit7c194c37b891f122740de52d154db0af612e0074 (patch)
treef6711feacffd3141c4342eb4d613b0228c1a0ccc /include/photos.php
parent841f94ce2adad86b65f8ff332e1d541ebeec8f69 (diff)
downloadvolse-hubzilla-7c194c37b891f122740de52d154db0af612e0074.tar.gz
volse-hubzilla-7c194c37b891f122740de52d154db0af612e0074.tar.bz2
volse-hubzilla-7c194c37b891f122740de52d154db0af612e0074.zip
started to add the ability to geotag photos (default will be disabled) but my phone isn't outputting the GPS tags even after being explicitly enabled so I'll have to wait until I've got a device that I can reliably test against.
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php
index c2f5ed4ba..4b7809fc1 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -125,7 +125,9 @@ function photo_upload($channel, $observer, $args) {
return $ret;
}
- $ph->orient($src);
+ $exif = $ph->orient($src);
+
+
@unlink($src);
$max_length = get_config('system','max_image_length');