diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/create_thumbnails.php | 4 | ||||
-rw-r--r-- | actions/upload.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/actions/create_thumbnails.php b/actions/create_thumbnails.php index 3fefb4f0d..3869e2dcf 100644 --- a/actions/create_thumbnails.php +++ b/actions/create_thumbnails.php @@ -35,12 +35,12 @@ if ($image_lib == 'ImageMagick') { // ImageMagick command line
- if (tp_create_imagick_cmdline_thumbnails($image, $prefix, $filestorename) != true) {
+ if (tp_create_im_cmdline_thumbnails($image, $prefix, $filestorename) != true) {
trigger_error('Tidypics warning: failed to create thumbnails - ImageMagick command line', E_USER_WARNING);
echo "Failed to create thumbnails";
}
- } else if ($image_lib == 'ImageMagickPHP') { // ImageMagick PHP
+ } else if ($image_lib == 'ImageMagickPHP') { // imagick PHP extension
if (tp_create_imagick_thumbnails($image, $prefix, $filestorename) != true) {
trigger_error('Tidypics warning: failed to create thumbnails - ImageMagick PHP', E_USER_WARNING);
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);
|