Can I tie the properties of a site file to columns in a database?

I want a build a grid repeater that will be focused heavily on displaying artwork, but the files themselves already contain much (but not all of) the information that I want in the database. Can I link them so that when I select an image the other columns are autofilled? Filename, tags, creation date…