image中open的相对于入口文件。(假设当前入口文件目录下面有一个1.jpg文件)

$image=new \Think\Image();
$image->open('./Uploads'.$path);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-11-10
  • 2021-07-11
  • 2021-11-28
  • 2021-11-28
  • 2021-11-13
猜你喜欢
  • 2022-01-03
  • 2022-12-23
  • 2021-12-19
  • 2021-05-17
  • 2022-01-25
  • 2021-05-28
  • 2022-12-23
相关资源
相似解决方案