Pull the tag of an image for container class

So in my template I have my query: http://pastebin.com/fTtMUPd3

My container: http://pastebin.com/ExykUNCJ

Each image has been tagged with terms like "logo, website, stationery" etc. I would like to be able to print that tag name in my aside class.

Thanks for the assistance guys... great support community.