Reputation: 159
I'm having trouble uploading image and saving path to the databse.
Here is my form:
I've tried to fixed this for hour but no result. Any help appreciated. Thanks!
Upvotes: 1
Views: 810
Reputation: 1015
To enable exif-support configure PHP with --enable-exif
Windows users must enable both the php_mbstring.dll
and php_exif.dll
DLL's in php.ini. The php_mbstring.dll
DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.
Source php documentation : http://php.net/manual/en/exif.installation.php
Upvotes: 0
Reputation: 1079
Try changing
Image::make($image)
to
Image::make($image->getRealPath());
Upvotes: 0