I know we can use a yaml file to give metadata for an image file - I guess we can use this to mark an image as featured or to mark an image that should be a hero image for example.
Is there a way to include this in the ‘Page’ section on the admin interface (can I include a custom form with a couple of checkboxes for example?)
Okay. In fact, I’m just playing with it today but I can’t really work out much with it. How can I loop through the media on a page and output the image with the correct alt tag, as defined in it’s meta.yaml file?
Check out this Gallery Example to show you how to loop over media and associated metadata.
Regarding debugbar, not sure. It could be related to the theme you are running. if it doesn’t have the same kind of Assets setup as Antimatter and the majority of the other themes, it might not be able to load the required JS files.