aboutsummaryrefslogtreecommitdiff
path: root/actions/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/upload.php')
-rw-r--r--actions/upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/upload.php b/actions/upload.php
index 209d8e17d..228253ddd 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -164,11 +164,11 @@
// resize photos to create thumbnails
if ($image_lib == 'ImageMagick') { // ImageMagick command line
- if (tp_create_imagick_cmdline_thumbnails($file, $prefix, $filestorename) != true) {
+ if (tp_create_im_cmdline_thumbnails($file, $prefix, $filestorename) != true) {
trigger_error('Tidypics warning: failed to create thumbnails - ImageMagick command line', E_USER_WARNING);
}
- } else if ($image_lib == 'ImageMagickPHP') { // ImageMagick PHP
+ } else if ($image_lib == 'ImageMagickPHP') { // imagick php extension
if (tp_create_imagick_thumbnails($file, $prefix, $filestorename) != true) {
trigger_error('Tidypics warning: failed to create thumbnails - ImageMagick PHP', E_USER_WARNING);