diff --git a/thumb.php b/thumb.php index 5704c4f9f..7ac04d9d3 100644 --- a/thumb.php +++ b/thumb.php @@ -268,7 +268,9 @@ class e_thumbpage try { $thumb = PhpThumbFactory::create($this->_src_path); - $thumb->setOptions(array('correctPermissions' => true, 'resizeUp'=>true)); + $sizeUp = ($this->_request['w'] > 110) ? true : false; // don't resizeUp the icon images. + $thumb->setOptions(array('correctPermissions' => true, 'resizeUp'=>$sizeUp)); + } catch (Exception $e) {