image中open的相对于入口文件。(假设当前入口文件目录下面有一个1.jpg文件)
$image=new ThinkImage(); $image->open('./Uploads'.$path);