aboutsummaryrefslogtreecommitdiffstats
path: root/admin/thumbnail.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/thumbnail.php')
-rw-r--r--admin/thumbnail.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/thumbnail.php b/admin/thumbnail.php
index 44c749236..13a66a0c2 100644
--- a/admin/thumbnail.php
+++ b/admin/thumbnail.php
@@ -155,6 +155,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 |
// +-----------------------------------------------------------------------+