aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/thumbnail.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/thumbnail.php b/admin/thumbnail.php
index 57ecf9cdb..a68395ce4 100644
--- a/admin/thumbnail.php
+++ b/admin/thumbnail.php
@@ -151,6 +151,12 @@ function RatioResizeImg($path, $newWidth, $newHeight, $tn_ext)
$pictures = array();
$stats = array();
+
+if (!function_exists('gd_info'))
+{
+ array_push($page['errors'], l10n('GD library is missing'));
+}
+
// +-----------------------------------------------------------------------+
// | template initialization |
// +-----------------------------------------------------------------------+