1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Fix for thumbnail generator with height value only

This commit is contained in:
Cameron
2016-04-13 19:44:46 -07:00
parent c57fe51ad8
commit b095230a38

View File

@@ -2452,7 +2452,7 @@ class e_parse extends e_parser
if(empty($parm['w']) && isset($parm['h'])) if(empty($parm['w']) && isset($parm['h']))
{ {
$parm['h'] = ($parm['h'] * $multiply) ; $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); $width = (!empty($parm['w'])) ? ($parm['w'] * $multiply) : ($this->thumbWidth * $multiply);