Unable to create an image upload

panel

#1

I’m playing around with the Kirby 3 demo, just to get to know the CMS a little. So, I am trying to create a blog and I want the article panel to have an image upload, so I can put images into the articles.

What I tried is:

images:
    type: files
    label: images

That only enables you to select images that are already in the folder. Are you supposed to upload the files by hand or is there any possibility to create a drag-and-drop style upload field?

Thanks for any helpful recommendations!


#2

You need a files section, not a files field.

You might want to check out the blog example: https://getkirby.com/docs/reference/panel/samples/blog


#3

Thank you so much for the super fast response. That is what I was looking for. I was not aware of the distinction.