PHP批量生成缩略图的代码
缺点:长宽不一的图片会被拉伸变形,不能智能裁切,需要智能裁切的,请自行研究。 $file" . ENDL;$im = @imagecreatefromjpeg($file);if(!$im) {$op .= "fail -> couldn't create sour image pointer
缺点:长宽不一的图片会被拉伸变形,不能智能裁切,需要智能裁切的,请自行研究。 $file" . ENDL;$im = @imagecreatefromjpeg($file);if(!$im) {$op .= "fail -> couldn't create sour image pointer
Server Error in '/' Application.-------------------------------------------------------------------------------- Could not load file or assembly 'Ajax