Lines Matching refs:w
30 * @param int $w bounding box width to resize pixel based images to
34 public function getPreviewHtml($w, $h) argument
37 $src = ml($this->mediaFile->getId(), ['w' => $w, 'h' => $h]);
45 'width' => $w,
60 * @param int $w bounding box width
64 public function getDetailHtml($w = 500, $h = 500) argument
70 [$dw, $dh] = $this->mediaFile->getDisplayDimensions($w, $h, false);
81 'src' => ml($id, ['w' => $w, 'h' => $h, 'fit' => 1, ...$cacheBust], true, '&'),
146 $w = $this->mediaFile->getWidth();
148 if ($w && $h) {
149 return $w . '×' . $h;