diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php index ed0df815..4bffbb6e 100644 --- a/libs/plugins/function.html_image.php +++ b/libs/plugins/function.html_image.php @@ -79,7 +79,7 @@ function smarty_function_html_image($params, &$smarty) } if(!isset($params['width']) || !isset($params['height'])) { - if(!$_image_data = getimagesize($_image_path)) { + if(!$_image_data = @getimagesize($_image_path)) { if(!file_exists($_image_path)) { $smarty->trigger_error("html_image: unable to find '$_image_path'", E_USER_ERROR); } else if(!is_readable($_image_path)) {