mirror of
https://github.com/e107inc/e107.git
synced 2025-07-13 02:56:28 +02:00
Disable resizeUp on icons
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user