aboutsummaryrefslogtreecommitdiff
path: root/actions/upload.php
diff options
context:
space:
mode:
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