mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Disable resizeUp on icons
This commit is contained in:
parent
0fc0a5c876
commit
78397acfd1
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user