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.
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?
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