Home
last modified time | relevance | path

Searched refs:maxwidth (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/inc/
H A Dtemplate.php1094 function tpl_img($maxwidth = 0, $maxheight = 0, $link = true, $params = null) { argument
1105 if($maxwidth && $w >= $maxwidth) {
1106 $ratio = $maxwidth / $w;
1113 } elseif($maxwidth && $w > $maxwidth) {
1114 $ratio = $maxwidth / $w;
H A DJpegMeta.php460 * @param int $maxwidth
464 function getResizeRatio($maxwidth,$maxheight=0){ argument
465 if(!$maxheight) $maxheight = $maxwidth;
472 if($w >= $maxwidth){
473 $ratio = $maxwidth/$w;
480 }elseif($w > $maxwidth){
481 $ratio = $maxwidth/$w;