The image and file buttons work fine inside a Page - e.g., the Home Page. But if the field is placed somewhere at the top level of the panel - ie., when the field is being used inside the 'site.yml' blueprint - then these buttons don't work, and the user gets an error message:
I guess the queries that are being used are page.images and page.files. When we're trying to get images and files at the top-level, outside any pages, I guess they have to be site.images and site.files.
The image and file buttons work fine inside a Page - e.g., the Home Page. But if the field is placed somewhere at the top level of the panel - ie., when the field is being used inside the 'site.yml' blueprint - then these buttons don't work, and the user gets an error message:
I guess the queries that are being used are
page.images
andpage.files
. When we're trying to get images and files at the top-level, outside any pages, I guess they have to besite.images
andsite.files
.