Hiding a page's thumbnail in the panel

Hey Kirby forum,

I have a simple page for storing my site’s files. The blueprint looks like this:

title: files
sections:
  files: 
    type: files

Unfortunately the thumbnail of this page in the panel shows the first image that is stored in the page’s content folder which I don’t want it to. Ideally I’d like to show an Icon instead. I already tried using image: false and icon: folder but that didn’t work. How can I hide the image thumbnail?

Have you tried:

title: files
sections:
  files: 
    type: files
    image: icon

Yes, I tried that. That only applies icon thumbnails to the file elements.

When you don’t want the image to be shown on the parent blueprint, you need to add image: icon there in the pages section.

I’m not sure that you can control the image/icon out of the child section individually.

When you don’t want the image to be shown on the parent blueprint, you need to add image: icon there in the pages section.

Thank you, that did the trick. So instead of adjusting my files.yml I needed to adjust the pages section of my site.yml.