A smiling man and a baby girl posing for photo.
A photo is being taken of a man and a baby girl.
Posing for photo implies photo is being taken.
Smiling man is a type of man, and posing implies photo.
A photo is being taken of a man and a baby girl is the rephrase of a smiling man and a baby girl posing for a photo.