upload images in Laravel 5.2 -
i'm trying uploads images error exception exist , wrote code validation
`$this->validate($request,['title'=>'required|unique:home,title|max:20', 'image'=>'mimes:jpg,jpeg,png,gif|max:2048|']);`
uncomment line in php.ini php folder.
extension=php_fileinfo.dll
and restart server(enter 'php artisan serve' again)
Comments
Post a Comment