Home
last modified time | relevance | path

Searched refs:maxwidth (Results 1 – 2 of 2) sorted by last modified time

/dokuwiki/inc/
H A Dtemplate.php1153 * @param int $maxwidth - maximal width of the image
1159 function tpl_img($maxwidth = 0, $maxheight = 0, $link = true, $params = null)
1171 if ($maxwidth && $w >= $maxwidth) {
1172 $ratio = $maxwidth / $w;
1178 } elseif ($maxwidth && $w > $maxwidth) {
1179 $ratio = $maxwidth / $w;
1106 tpl_img($maxwidth = 0, $maxheight = 0, $link = true, $params = null) global() argument
H A DJpegMeta.php475 * @param int $maxwidth
479 function getResizeRatio($maxwidth,$maxheight=0){
480 if(!$maxheight) $maxheight = $maxwidth;
487 if($w >= $maxwidth){
488 $ratio = $maxwidth/$w;
495 }elseif($w > $maxwidth){
496 $ratio = $maxwidth/$w;
476 getResizeRatio($maxwidth, $maxheight = 0) global() argument