使用ImageJpeg 生成缩略图
如果是:
ImageJpeg ($newimg,'../../public/images/dish/224/1331787945.jpg');就可以生成,但是如果是:
$path ='../../public/images/dish/224/1331787945.jpg'; 
ImageJpeg ($newimg,$path);却生成不了在线等......