Problem with a blueprint files

Hello all :slight_smile:

I copied the blog example: Blog | Kirby CMS.
I then created this simple following blueprint files /site/blueprints/files/image.yml

title: image

accept:
    extension: jpg, png

fields:
  alt:
    label: Alt Text
    type: text
    required: true

That I add like this in my article blueprint:

fields:
  image:
    type: files
    max: 1
    layout: cards
    template: image

But it doesn’t work, there is no template assigned to the image I import in my article page. But on the homepage, it works :thinking:

What’s wrong?

Thank you in advance for your help

The template option in a files field must be a sub-key of the uploads option:

I didn’t know it. Thank you very much it works now :slight_smile: