问答 / 35 / 1 / 创建于 4年前
并没有生成缩略图,代码没有问题,其他功能都是正常的。
我也遇到了,在github上面看可以这样解决,亲测可以 (在共享主机中禁用了“ proc_open”功能) 在您的模型中使用以下代码:
public function registerMediaConversions(Media $media = null) { $this->addMediaConversion('thumb') ->width(368) ->height(232) ->nonOptimized() //for shared hosts ->nonQueued(); //for shared hosts }
我要举报该,理由是:
推荐文章: