From 5ccb3887f61af7b670f0fafe077401529c141700 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 9 Sep 2009 00:58:37 +0000 Subject: added ability to create thumbnails for images that previously failed --- actions/upload.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'actions/upload.php') 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 -- cgit v1.2.3