aboutsummaryrefslogtreecommitdiff
path: root/actions/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/upload.php')
-rw-r--r--actions/upload.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/actions/upload.php b/actions/upload.php
index f330cf782..209d8e17d 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -157,7 +157,11 @@
continue;
}
-
+ //get and store the exif data
+ td_get_exif($file);
+
+
+ // resize photos to create thumbnails
if ($image_lib == 'ImageMagick') { // ImageMagick command line
if (tp_create_imagick_cmdline_thumbnails($file, $prefix, $filestorename) != true) {
@@ -183,8 +187,6 @@
$file_for_river = $file;
}
- //get and store the exif data
- td_get_exif($file);
array_push($uploaded_images, $file->guid);
// update user/group size for checking quota