Would it be possible to automatically assign a thumbnail to each page in the panel?

Would it be possible to automatically assign a thumbnail to each page in the panel?

I don’t want to use photos for this that I put on the page, they would give the panel a bumpy look

Also, there are pages that can do without an image, e.g. Imprint, Search, Error, etc.

My thought is to upload an image with a consistent name in each page folder where Kirby immediately knows, “Cool, I’ll use that image as a preview image!” The image can be called: “panelcover.png”.

Is there already a comparable topic for this here? Or a cookbook recipe that I can use for this purpose?

Yes: Page blueprint | Kirby CMS

1 Like

I often expect a complex solution to my questions.
And the answers are often so simple.
I would have expected a plugin + controller + model + config :sweat_smile:

query: page.images.findBy("name", "panel-cover")

… works like “greased” :white_check_mark: