Change structure field preview in panel

Hi everyone :slight_smile:
I want to have a field that allows the user to pick children pages of a different page. I also want to be able to control the order of them.

The only solution I came up with is using structure field:

sections:
  works:
    type: fields
    fields:
      works:
        type: structure
        fields:
          image:
            label: Image
            type: select 
            options:
              type: query
              query: page('works').children.published

this is actually a good solution for me - the only problem is that I would like to show the image from the selected pages in the preview of the field in the panel. Is there a way to achieve that without creating a custom field?

Thanks in advance :pray:

Use a files field instead of select?

I have a page of works which it’s children are work pages.
In the home page I want to be able to pick some of the work pages and to show the image of the page in the home page panel.

I found a solution. I cancelled the work page and instead I just upload image blocks (with extra fields I added in the image block yml) to the works page. and in the home page I call the images I want:

title: Home

sections:
  works:
    type: fields
    fields:
      works:
        type: structure
        fields:
          image:
            label: Image
            type: files 
            query: page('works').images