Pagetable select image and image size

Hi all,

how to select a page field as image source and how to define the image size within pagetables?

gallery:
            headline: Werke
            type: pagetable
            status: published
            image:
              cover: true
             ratio: 5/4
             query: page.previewImage

This does not work. thx for help

Your indentation is not correct. And the query has to return an image object, so it the source is a field, you have to use toFile(), see the pages section documentation.

works with toFile(), thanks alot!