I’m trying to show server generated thumbnails for my uploaded font files.
I generate – via file.create:after – a preview of each font as PNG and save it in the same folder. Filename is in the style of font-name.otf.png and I was hoping for some Kirby-magic to pick this file as a preview and use it as thumbnail. But no.
How can/Can I make a link between the uploaded OTF-file and the generated PNG and see it as the thumbnail in files field/section in the panel?
I was a bit unclear what I was asking for. I’m looking for showing the thumbnail in the panel, rather than on the website. Replacing the clip-icon in the screenshot below.