Skip to content

图片上传裁剪处理 #1379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xinhaonaner opened this issue Nov 3, 2017 · 5 comments
Closed

图片上传裁剪处理 #1379

xinhaonaner opened this issue Nov 3, 2017 · 5 comments

Comments

@xinhaonaner
Copy link

xinhaonaner commented Nov 3, 2017

  • Laravel Version: 5.5
  • PHP Version:7.0
  • Laravel-admin: 1.5.x

Description:

图片上传时,显示 Image source not readable
"intervention/image": "^2.4", 包已安装
具体配置 贴出:

Steps To Reproduce:

image
image

请问是什么原因呢?

@z-song
Copy link
Owner

z-song commented Nov 6, 2017

insert方法是用来插入水印的,你的使用方法貌似有问题吧

@xinhaonaner
Copy link
Author

@z-song
Copy link
Owner

z-song commented Nov 7, 2017

laravel-admin的图片处理基于Intervention, 你这个是windows环境和Intervention的不兼容问题导致的

Intervention/image#231

我的建议是不要用windows开发

@xinhaonaner
Copy link
Author

xinhaonaner commented Nov 8, 2017

根据 你的思路,找到了临时解决办法
http://baijiahao.baidu.com/s?id=1572709227899675&wfr=spider&for=pc
image

@haipersist
Copy link

在Ubuntu同样遇到这个问题了,提示Image source not readable 。也按照上面哥们的加法,还是出错啊,还请大神帮忙解答。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants