2016-11-14 96 views
1

我在上傳圖片和保存路徑到數據庫時遇到了問題。
這是我的形式:enter image description here圖片源不可讀,Laravel干預圖片

而且我的ProductsController:enter image description here

錯誤:enter image description here

我一直在努力,這個固定的小時,但沒有結果。任何幫助讚賞。謝謝!

+0

對不起,一些錯誤拼寫的單詞 –

+0

請不要張貼代碼*截圖*! – ceejayoz

+0

好的。對不起, –

回答

0

嘗試改變 Image::make($image)Image::make($image->getRealPath());

+0

我試過了,但沒有奏效。 –

+0

它給出了同樣的錯誤? – scottevans93

+0

是的,圖像不能正常工作,我會盡力弄清楚。 –

0

要啓用EXIF支持,配置PHP與--enable-EXIF

Windows用戶必須同時啓用php_mbstring.dllphp_exif.dll DLL的在php.ini。 php_mbstring.dll DLL必須在php_exif.dll DLL之前加載,因此請相應地調整您的php.ini。

來源的PHP文件:http://php.net/manual/en/exif.installation.php