31 $image = isset($params[
'image']) ? $params[
'image'] :
'';
32 $w = isset($params[
'w']) ? $params[
'w'] : 0;
33 $h = isset($params[
'h']) ? $params[
'h'] : 0;
35 return \Xoops::getInstance()->service(
'thumbnail')->getImgUrl(
$image, $w, $h)->getValue();
if(empty($image_id)) $image
smarty_function_thumbnail($params, &$smarty)