mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
srcset h fix. (thanks to @G4HDU)
This commit is contained in:
@@ -2549,7 +2549,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)." h".$parm['h']." ".$multiply;
|
return $this->thumbUrl($src, $parm)." ".$parm['h']."h ".$multiply;
|
||||||
}
|
}
|
||||||
|
|
||||||
$width = (!empty($parm['w']) || !empty($parm['h'])) ? (intval($parm['w']) * $multiply) : ($this->thumbWidth * $multiply);
|
$width = (!empty($parm['w']) || !empty($parm['h'])) ? (intval($parm['w']) * $multiply) : ($this->thumbWidth * $multiply);
|
||||||
|
Reference in New Issue
Block a user