Lines Matching defs:h
1100 $more['h'] = $size[1];
1193 $h = $info[1];
1195 if ($meta && ($w > $size || $h > $size)) {
1198 $h = floor($h * $ratio);
1200 return [$w, $h];
1785 * @param int $h desired height
1789 function media_mod_image($file, $ext, $w, $h = 0, $crop = false)
1792 if (!$h) $h = 0;
1794 if ($w > 2000 || $h > 2000) return $file;
1803 $cache = new CacheImageMod($file, $w, $h, $ext, $crop);
1808 ->$operation($w, $h)
1828 * @param int $h desired height
1831 function media_resize_image($file, $ext, $w, $h = 0)
1833 return media_mod_image($file, $ext, $w, $h, false);
1844 * @param int $h desired height
1847 function media_crop_image($file, $ext, $w, $h = 0)
1849 return media_mod_image($file, $ext, $w, $h, true);
1861 * @param int $h resize/crop height
1864 function media_get_token($id, $w, $h)
1867 if ($w || $h || media_isexternal($id)) {
1870 if ($h) $token .= '.' . $h;