更改缩略图生成方法,生成更高质量的缩略图

This commit is contained in:
麦当苗儿
2013-04-16 10:56:11 +08:00
parent 3c34c9095c
commit e9141f5334

View File

@@ -184,7 +184,7 @@ class Imagick{
//调整大小
if($w != $width || $h != $height){
$img->sampleImage($width, $height);
$img->scaleImage($width, $height);
}
//设置缓存尺寸