Hey!
I’ve setting up a page with Layout and everything works nicely. However, I’m trying to find a way to query images from another page, or the whole site.
sections:
layout:
type: fields
fields:
layout:
label: Layout
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
- "1/3, 2/3"
- "2/3, 1/3"
- "1/3, 1/3, 1/3"
fieldsets:
- heading
- text
- image
- video
The image field allows for uploads and selection of images from within the same page. Is there a way to extend the query to the entire site somehow, to avoid duplicate uploads?
query: site.index.images
works if I create a standalone image field, but I’d like to apply it to the Layout structure.
Many thanks!