@@ 99-107 (lines=9) @@ | ||
96 | // This code is copyright WF-Projects |
|
97 | // Using this code without our permission or removing this code voids the license agreement |
|
98 | $_image = $myrow['imgurl'] ? urldecode($myrow['imgurl']) : ''; |
|
99 | if ($_image !== '' && $GLOBALS['xoopsModuleConfig']['usethumbs']) { |
|
100 | $_thumb_image = new XtubeThumbsNails($_image, $GLOBALS['xoopsModuleConfig']['catimage'], 'thumbs'); |
|
101 | if ($_thumb_image) { |
|
102 | $_thumb_image->setUseThumbs(1); |
|
103 | $_thumb_image->setImageType('gd2'); |
|
104 | $_image = $_thumb_image->createThumbnail($GLOBALS['xoopsModuleConfig']['shotwidth'], $GLOBALS['xoopsModuleConfig']['shotheight'], $GLOBALS['xoopsModuleConfig']['imagequality'], |
|
105 | $GLOBALS['xoopsModuleConfig']['updatethumbs'], $GLOBALS['xoopsModuleConfig']['imageAspect']); |
|
106 | } |
|
107 | } |
|
108 | if (empty($_image) || '' === $_image) { |
|
109 | $imgurl = $indicator['image']; |
|
110 | $_width = 33; |
@@ 99-107 (lines=9) @@ | ||
96 | // Using this code without our permission or removing this code voids the license agreement |
|
97 | ||
98 | $_image = $ele['imgurl'] ? urldecode($ele['imgurl']) : ''; |
|
99 | if ($_image !== '' && $GLOBALS['xoopsModuleConfig']['usethumbs']) { |
|
100 | $_thumb_image = new XtubeThumbsNails($_image, $GLOBALS['xoopsModuleConfig']['catimage'], 'thumbs'); |
|
101 | if ($_thumb_image) { |
|
102 | $_thumb_image->setUseThumbs(1); |
|
103 | $_thumb_image->setImageType('gd2'); |
|
104 | $_image = $_thumb_image->createThumbnail($GLOBALS['xoopsModuleConfig']['shotwidth'], $GLOBALS['xoopsModuleConfig']['shotheight'], $GLOBALS['xoopsModuleConfig']['imagequality'], |
|
105 | $GLOBALS['xoopsModuleConfig']['updatethumbs'], $GLOBALS['xoopsModuleConfig']['imageAspect']); |
|
106 | } |
|
107 | } |
|
108 | ||
109 | if (empty($_image) || '' === $_image) { |
|
110 | $imgurl = $indicator['image']; |