Check file type before uploading

Since I just getting started with Kirby I tried the following:

    type: image

No in my stupididy I choose a really big ZIP. Watched it uploaded for some time. And then got the error message. With works great but nowadays those tests should run client-side, in my opinion.

Nevertheless it worked :smile: