Where to save image blocks template?

I can’t figure out where to save the files template for the image block. I want to control what kind and how large of a file the user can upload to an image block.

I see in the docs it says the files template is in blocks/image but the docs also say that the overall customized image blueprint should be placed in site/blueprints/blocks/image.yml. So would these both be saved in the same place? Or is the image file template (mime type, size, etc) saved somewhere else under site/blueprints?

No, a custom image.yml for the image block type would go into this folder, not the file blueprint referenced in this blueprint.

The file blueprint block/image refers to a file blueprint in /site/blueprints/files/blocks/image.yml.

1 Like