title: News
pages: false
icon : newspaper-o
options:
delete: false
files:
fields:
caption:
label: Short info
type: text
sortable: true
type: pdf
fields:
title:
label: Title
type: title
info:
label: Info
type: info
text: >
Some text to
give the user a guide
Works fine, but when I open the file list in the panel, I get the same layout as I would be viewing .JPG files, but without the thumbnails (they show up as missing images.
So if I upload files in the panel, other than images (.JPG .PNG …) I’ll get errors when viewing the filelist in the panel? Seems weird, no?
I don’t know any browser that shows me a PDF or DOCX thumbnail. The right way should be that Kirby shows me a document icon, or no preview at all, just the filename with an image placeholder.