Extend Blocks Gallery


I’m pretty new to the Kirby Backend.
I’ve sucessfully edited quite a bunch of blueprints and snippets. But I haven’t found out how to edit and extend the $blocks->$gallery element. I’d like to add the option to add a text field for hyperlinks to each single image. But I didn’t find a way to include that in the gallery.yml blueprint.
Another nice addition would be to have the option to add videos, too.

Maybe someone has a hint how to extend the blocks->gallery element.

Thanks in advance,

If you need a hyperlink for each image and don’t want to put this link in the file metadata, then you need a structure field with one field gor the image and one for the url

thanks for your fast reply…

I will try to include the links in the metadata… I suppose that is the quickest way.