mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Fix for thumbnail generator with height value only
This commit is contained in:
@@ -2452,7 +2452,7 @@ class e_parse extends e_parser
|
||||
if(empty($parm['w']) && isset($parm['h']))
|
||||
{
|
||||
$parm['h'] = ($parm['h'] * $multiply) ;
|
||||
return $this->thumbUrl($src, $parm)." ".$multiply;
|
||||
return $this->thumbUrl($src, $parm)." h".$parm['h']." ".$multiply;
|
||||
}
|
||||
|
||||
$width = (!empty($parm['w'])) ? ($parm['w'] * $multiply) : ($this->thumbWidth * $multiply);
|
||||
|
Reference in New Issue
Block a user