Hi,
I have this message when I try to uplaod a svg in layout block image : The file could not be uploaded
I change kirby/config/blocks/image/image.yml (to be sure it’s a yml problem) like this :
name: field.blocks.image.name
icon: image
preview: image
accept: true
fields:
image:
label: field.blocks.image.name
type: files
query: model.images
multiple: false
image:
back: black
uploads:
template: blocks/image
But it’s the same problem.
I can put my SVG in the folder and it’s work, but I need an easy upload.
Config : Kirby 3.6.5 + Php 8.0.17 and Apache