Support the ongoing development of Laravel.io →
Validation Blade
Last updated by @ajax30 1 year ago.
0
Solution

You have used spaces while defining the allowed mime types. You must rewrite mime-types as :

'image' => ['mimes:jpeg,jpg,png,gif', 'max:2048'],
Last updated by @faisal 2 years ago.

wallfa liked this reply

1
Solution selected by @tvbeek

@faisal Please give me a hand with this question too. Thanks!

wallfa liked this reply

1

@ajax30 I'd like to warn you to please not spam other threads with this. Just post your question in a thread and wait until someone gets to it. If no one can answer it please try another channel like Stackoverflow.

tvbeek liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

Razvan ajax30 Joined 2 Oct 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.