Hey @sylvainjule, since i had problems with renaming the Files in the Panel and the Reference Error (Renaming of File/Image breaks Reference in Files-Field) i stumbled over your ImageBoxes Plugin which looks quite nice at first glance.
But when i was trying to implement it, i get errors in the panel. I pasted your default field configs in a structure Field and get the following error:
Here is the YAML-File for the setup:
imageFilesStructure:
extends: fields/_presets/native/_structure
width: 1/2
label:
en: Image Entries
de: Bildelemente
fields:
imageFile:
label: Bilder
type: imageboxes
columns: 3
options: query
query:
fetch: page.images
text: "{{ file.filename }}"
value: "{{ file.id }}"
image: "{{ file.url }}"
objectFit:
extends: fields/_presets/native/_select
options:
cover: Fill
contain: Contain
default: cover
Do you have any idea, what i am doing wrong?
Kind Regards Tobi