Searched refs:maxheight (Results 1 – 2 of 2) sorted by relevance
1176 * @param int $maxheight - maximal height of the image1181 function tpl_img($maxwidth = 0, $maxheight = 0, $link = true, $params = null) argument1195 } elseif ($maxheight && $h > $maxheight) {1196 $ratio = $maxheight / $h;1198 } elseif ($maxheight && $h >= $maxheight) {1199 $ratio = $maxheight / $h;
476 * @param int $maxheight479 function getResizeRatio($maxwidth,$maxheight=0){ argument480 if(!$maxheight) $maxheight = $maxwidth;489 }elseif($h > $maxheight){490 $ratio = $maxheight/$h;493 if($h >= $maxheight){494 $ratio = $maxheight/$h;