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];
1784 * @param int $w desired width
1789 function media_mod_image($file, $ext, $w, $h = 0, $crop = false)
1794 if ($w > 2000 || $h > 2000) return $file;
1803 $cache = new CacheImageMod($file, $w, $h, $ext, $crop);
1808 ->$operation($w, $h)
1827 * @param int $w desired width
1831 function media_resize_image($file, $ext, $w, $h = 0)
1833 return media_mod_image($file, $ext, $w, $h, false);
1843 * @param int $w desired width
1847 function media_crop_image($file, $ext, $w, $h = 0)
1849 return media_mod_image($file, $ext, $w, $h, true);
1860 * @param int $w resize/crop width
1864 function media_get_token($id, $w, $h)
1867 if ($w || $h || media_isexternal($id)) {
1869 if ($w) $token .= '.' . $w;
1945 $fp = @fopen($file, "w");