Issue with assigning files to template via panel

Hello everyone,

I’ve got an section for uploading images in blueprint as this:

  images:
    type: files
    headline: Story Fotos
    uploads:
      template: image

and I’ve got a file blueprint “image.yml” which is same like image blueprint in starterkit

title: Image

accept: 
  type: image

columns:
  - width: 1/2
    sections:
      content:
        type: fields
        fields:
          caption:
            label: Caption
            type: textarea
            size: medium
...

But when I upload a picture via panel through field defined above, I’m getting this message when I want to edit picture metadata:

This file has no blueprint yet. You can define the setup in **/site/blueprints/File.yml**

I don’t get it why the template isn’t assignet to file i uploaded… :frowning:

1 Like

images is not a field, but a section, so just set template, not uploads.template. a bit confusing, I admit.

1 Like

That helped, thanks!