Files query all Files from site and pages

Hey,

i would lik to have a files-field where all files (from site and pages/subpages) are selectable.
I just made it for all images from the site.

My Blueprint:

images:
  type: files
  query: site.images

Is that possible?

Thank you for your help.

Yes,

query: site.index.images

Wouldn’t recommend this for large sites, though, as it can slow down the Panel (at least not without caching).

1 Like

Fast and on point :smile: :pray:
Works for me!
Thank you.