I’d like to display specific image field as a thumbnail for pages in the panel.
The image is defined like this:
heroimage: label: Hero Image type: files max: 1
And this is the definition there I want to query the heroimage:
sections: listed: type: pages headline: en: Pages de: Seiten layout: cards status: listed image: query: page.images.findBy("name", "heroimage").last cover: true ratio: 16/9
This query is wrong, I know. But how can I get the heroimage?