aboutsummaryrefslogtreecommitdiff
path: root/actions/upload.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-09 00:58:37 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-09 00:58:37 +0000
commit5ccb3887f61af7b670f0fafe077401529c141700 (patch)
tree9c5279c63cdc38b8fd1ec7d42e444d641e8b9460 /actions/upload.php
parentce396a3cf4cce3e74b79bb4c4512066404034c47 (diff)
downloadelgg-5ccb3887f61af7b670f0fafe077401529c141700.tar.gz
elgg-5ccb3887f61af7b670f0fafe077401529c141700.tar.bz2
added ability to create thumbnails for images that previously failed
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