Implemented function for obtaining a photo's tags.