Searched refs:maxheight (Results 1 – 2 of 2) sorted by relevance
1174 * @param int $maxheight - maximal height of the image1179 function tpl_img($maxwidth = 0, $maxheight = 0, $link = true, $params = null)1193 } elseif ($maxheight && $h > $maxheight) {1194 $ratio = $maxheight / $h;1196 } elseif ($maxheight && $h >= $maxheight) {1197 $ratio = $maxheight / $h;1106 tpl_img($maxwidth = 0, $maxheight = 0, $link = true, $params = null) global() argument
476 * @param int $maxheight argument 479 function getResizeRatio($maxwidth,$maxheight=0){480 if(!$maxheight) $maxheight = $maxwidth;489 }elseif($h > $maxheight){490 $ratio = $maxheight/$h;493 if($h >= $maxheight){494 $ratio = $maxheight/$h;