resize 썸네일형 리스트형 php - resize image function php - resize image function Resizing image is frequent skill for PHP web. Usally it is used for making thumbnail image. but a lot of resizing source is rightless I think, so I am making this source :) function resize_image($file, $newfile, $w, $h) { list($width, $height) = getimagesize($file); if(strpos(strtolower($file), ".jpg")) $src = imagecreatefromjpeg($file); else if(strpos(strtolower($fil.. 더보기 이전 1 다음