K
K
Konstantin B.2016-02-17 09:13:58
Laravel
Konstantin B., 2016-02-17 09:13:58

Why does Laravel swear at images?

Made validation for photos in laravel

$rules = [
  'file' => 'image|mimes:jpeg,jpg,png|required|max:10000' // max 10000kb
];

and he swears at some photos saying they are not photos at all. How to be in such a situation?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question