File upload error

Hi there,

I’m getting this weird error when uploading images, very strange.

I have this on my file-upload.yml, image.yml:

mime: image/jpeg
maxwidth: 2200px
maxsize: 650000

The error is:
Kirby\Toolkit{closure}(): Argument #2 ($max) must be of type float, string given

Use numeric without px like maxwidth: 2200

Oh my goodness, thank you so much!!

I was going crazy, cant believe I missed that! :joy: