Image template is not assigned when saving

title: Home Page
preset: page
fields:
  intro:
    label: Intro
    type: textarea
    size: small
  publications:
    type: files
    headline: Gallery
    template: publication

This is my page yml and I have a problem with the files template. This never gets written into the image markdown files and I have no idea why. No matter if i do template: cover or whatever.

Would be cool to have some help on this topic, most likely I’m doing something completely wrong :smiley:

Cheers
Tobias

A files field doesn’t have a template property (nor does it have a headline, but a label). You have to define the template to assign inside the uploads property, see

1 Like

Thank you so much. This works, actually no Idea why I did it in the way I wrote. Most likely some copy paste mistake/misunderstanding from somewhere :frowning: