Lines Matching defs:w
413 function _media($src, $title = null, $align = null, $w = null,
427 if ( !$w && !$h ) $w = $info[0];
428 if(!$h) $h = round(($w * $info[1]) / $info[0]);
429 if(!$w) $w = round(($h * $info[0]) / $info[1]);
432 if ( 2*2/3*$w <= $origWidth ) { // If the image is at least 1.6 times as large ...
433 $srcset[] = ml($src, array('w' => 2*$w, 'h' => 2*$h, 'cache' => $cache, 'rev'=>$this->_getLastMediaRevisionAt($src))) . ' 2x';
444 $srcset[] = ml($additionalSrc, array('w' => 2*$w, 'h' => 2*$h, 'cache' => $cache, 'rev'=>$this->_getLastMediaRevisionAt($srcSetURL))) . ' 2x';
450 $ret = parent::_media($src, $title, $align, $w, $h, $cache, $render);
459 return parent::_media($src, $title, $align, $w, $h, $cache, $render);