You can’t really add another field to the Gallery, but you could add fields to attachments that could be edited when adding an image to the gallery. Then on the front end you can get these fields using the attachment ID and use them to do what you need to do there.