aboutsummaryrefslogtreecommitdiff
path: root/actions/upload.php
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-05-20 05:01:21 +0000
committerGreg Froese <greg.froese@gmail.com>2009-05-20 05:01:21 +0000
commit12a27fa3b501cf08091cd063dd3208a17e0f624a (patch)
treed993e49523465f2e2d8e856785072526a72cff30 /actions/upload.php
parent63b91d8aee8e40497d865591d16ee1716e0c9c15 (diff)
downloadelgg-12a27fa3b501cf08091cd063dd3208a17e0f624a.tar.gz
elgg-12a27fa3b501cf08091cd063dd3208a17e0f624a.tar.bz2
added exif support
Diffstat (limited to 'actions/upload.php')
-rw-r--r--actions/upload.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/upload.php b/actions/upload.php
index dd50d2381..6e21fd7b0 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -8,6 +8,7 @@
global $CONFIG;
include_once dirname(dirname(__FILE__)) . "/lib/resize.php";
include_once dirname(dirname(__FILE__)) . "/lib/watermark.php";
+ include_once dirname(dirname(__FILE__)) . "/lib/exif.php";
// Get common variables
$access_id = (int) get_input("access_id");
@@ -155,7 +156,9 @@
tp_watermark($thumbs);
} // end of image library selector
-
+
+ //get and store the exif data
+ td_get_exif($file);
array_push($uploaded_images, $file->guid);
unset($file); // may not be needed but there seems to be a memory leak