Added parameter controlling the rotation of the photo when it's taken.