When adding a new image block, I can easily select any file type, even non-image files like PDFs, ZIPs or audio. As the output snippet expects only images, I think it should only be possible to select images in the first place.
When I look into kirby/config/blocks/image/image.yml I can see that there is no filtering going on:
Description
When adding a new image block, I can easily select any file type, even non-image files like PDFs, ZIPs or audio. As the output snippet expects only images, I think it should only be possible to select images in the first place.
When I look into
kirby/config/blocks/image/image.yml
I can see that there is no filtering going on:The image field would need a
query: page.images
to only allow images to be selected.To reproduce
Your setup
Kirby Version 3.6.2