added style/function to show tags of each photo's categories