take photo when recording