Making a rich image gallery out of metadata?

Okay, I can see someone was doing something very similar here: Image galleries based on "tags" stored in data file although I’m not able to tell whether each image has multiple tags or just one? Would this approach still work? Still a bit confused where the data ends up after it is ingested.