Files blueprint: Upload settings are ignored

I have a Files tab on all blueprints. I have divided this into images located in the site folder and in the main directory. The display of images from both folders works as expected.

If I want to upload images to the main directory, they are copied to the site folder even though “parent: site” is set. :face_with_raised_eyebrow:

As an alternative solution, I wanted to deactivate the upload and only use it as a listing of the site media, but “uploads: false” is ignored and the upload button still appears.

Do I have a comprehension problem, or are my settings incorrect? Or do both apply? :sweat_smile:

site/blueprints/tabs/media.yml

label: Medien
icon: layers

columns:

  - width: 1/1
    sections:
      imagesPage:
        label: "Images in the page directory"
        type: files
        template: image
        info: "{{ file.dimensions }} ({{ file.niceSize }})"
        
  - width: 1/1
    sections:
      imagesSite:
        label: "Images in the site directory"
        type: files
        template: image
        query: site.images
        info: "{{ file.dimensions }} ({{ file.niceSize }})"
        uploads:
          parent: site # what's wrong here?
          template: image

The option for files sections is called parent, uploads is a files field property.

Thank you Sonja! That works :+1:
I somehow can’t seem to internalise how to differentiate between sections and fields :sweat_smile: