A female dancer wearing all white dancing while a photographer wearing all white takes her picture.
A girl dancing and photographer take a photo
Female dancer dancing while a photographer takes her picture is rephrasing of girl dancing and photographer take a photo
Taking a photo is the same as taking a picture.
"take a photo" is a rephrasing of "takes her picture"