From 12a27fa3b501cf08091cd063dd3208a17e0f624a Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Wed, 20 May 2009 05:01:21 +0000 Subject: added exif support --- actions/upload.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'actions/upload.php') 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 -- cgit v1.2.3