Skip to content

图片上传裁剪处理 #1379

@xinhaonaner

Description

@xinhaonaner
  • 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

请问是什么原因呢?

Activity

z-song

z-song commented on Nov 6, 2017

@z-song
Owner

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

xinhaonaner

xinhaonaner commented on Nov 7, 2017

@xinhaonaner
Author
z-song

z-song commented on Nov 7, 2017

@z-song
Owner

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

Intervention/image#231

我的建议是不要用windows开发

xinhaonaner

xinhaonaner commented on Nov 8, 2017

@xinhaonaner
Author

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

haipersist

haipersist commented on Mar 22, 2018

@haipersist

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @z-song@haipersist@xinhaonaner

        Issue actions

          图片上传裁剪处理 · Issue #1379 · z-song/laravel-admin