# File template does not work

**URL:** <https://forum.getkirby.com/t/file-template-does-not-work/15730>\
**Category:** Questions\
**Tags:** v3\
**Created:** [September 20, 2019, 12:05pm UTC](https://forum.getkirby.com/t/file-template-does-not-work/15730 "2019-09-20T12:05:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwalx](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kwalx](https://forum.getkirby.com/u/kwalx)\
**Post date:** [September 20, 2019, 12:05pm UTC](https://forum.getkirby.com/t/file-template-does-not-work/15730/1 "2019-09-20T12:05:59Z")

</div>

It seems I can’t get to work any other file template than `default`.

Let’s set it in the panel by having this line in the `post.yml`:

```auto
images:
    type: files
    template: image

```

If I now want to set the meta data etc. for the picture I uploaded in the panel Kirby will tell me:

> This page has no blueprint setup yet

Which makes no sense to me, since I have the `image.yml` in the `files` folder (and it’s even from the starterkit). What am I missing here?

---

<div class="post-metadata">

**Author:** ![kinkwilde](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@kinkwilde](https://forum.getkirby.com/u/kinkwilde)\
**Post date:** [September 20, 2019, 12:20pm UTC](https://forum.getkirby.com/t/file-template-does-not-work/15730/2 "2019-09-20T12:20:24Z")

</div>

Please take a look at this thread.

> [@Frontend ignores image sorting via panel](https://forum.getkirby.com/t/frontend-ignores-image-sorting-via-panel/15634/19):
>
> Sorry about Friday. I was getting frustrated, I know it doesn’t excuse my actions but there it is. The source of my problem arises from the re-structuring of my blueprints. Broken pages/album.yml # TABS tabs: # TAB: Photos tabPhotos: label: en: Photos de: Photos icon: image # SECTIONS sections: # SECTION: Photos photos: type: fields fields: # images images: type: files label: …

Hopefully it might help.

---

<div class="post-metadata">

**Author:** ![kwalx](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kwalx](https://forum.getkirby.com/u/kwalx)\
**Post date:** [September 20, 2019, 12:37pm UTC](https://forum.getkirby.com/t/file-template-does-not-work/15730/3 "2019-09-20T12:37:12Z")

</div>

> [@kinkwilde](#):
>
> Hopefully it might help.

Thanks for that link!

Oh man, that is a confusing thing for sure! This should be written in big red letters all over the documentation, because, yes, I had made the same mistake.

> [@Frontend ignores image sorting via panel](https://forum.getkirby.com/t/frontend-ignores-image-sorting-via-panel/15634/20):
>
> The difference here is that in your first example the “thing” with the images is a files field, in the second example, it is a files section. Both have similar options to some extend but work differently.

So for everybody also struggling. Just [look again at](https://getkirby.com/docs/reference/plugins/extensions/sections#fields-vs-sections) what `sections` are and what they’re for.  
To complete the bewilderment: The `fields` section can have a `files` field; you’d want that, if you want to query files from other places. Otherwise rely on the `files` section, thru which you can upload files as well – and have the template set correctly.

Thanks again so much, @kinkwilde!
