Can't Upload Image on Laravel

can not upload image on laravel

Can't Upload Image on Laravel

After create controller model route and blade.php file, why i can't upload image on laravel apps project ??
For the first you must check on your code , maybe your code on controller request validate or something on your blade.php file is incorrect.

Check controller image mimes:jpeg,png,jpg,gif,svg|max:5000', or you check on your form action , make sure you have form action like this form action="/" method="POST" enctype="multipart/form-data" remember for using upload and save image on form you must insert multipart/form-data.

I have some problem with upload an image on my laravel apps project , and i solved with insert enctype="multipart/form-data , i hope this post and blog help you to solved Can't Upload Image on Laravel

Tidak ada komentar:

Posting Komentar

Mesin Kasir News