Lines Matching defs:w
319 $target = fopen($path, "w");
1099 $more['w'] = $size[0];
1192 $w = $info[0];
1195 if ($meta && ($w > $size || $h > $size)) {
1197 $w = floor($w * $ratio);
1200 return [$w, $h];
1776 * @param int $w desired width
1781 function media_mod_image($file, $ext, $w, $h = 0, $crop = false)
1786 if ($w > 2000 || $h > 2000) return $file;
1795 $cache = new CacheImageMod($file, $w, $h, $ext, $crop);
1800 ->$operation($w, $h)
1819 * @param int $w desired width
1823 function media_resize_image($file, $ext, $w, $h = 0)
1825 return media_mod_image($file, $ext, $w, $h, false);
1835 * @param int $w desired width
1839 function media_crop_image($file, $ext, $w, $h = 0)
1841 return media_mod_image($file, $ext, $w, $h, true);
1852 * @param int $w resize/crop width
1856 function media_get_token($id, $w, $h)
1859 if ($w || $h || media_isexternal($id)) {
1861 if ($w) $token .= '.' . $w;
1937 $fp = @fopen($file, "w");