What is the effect of the following sentence?

The photographer got the child to smile.
The photographer quickly snapped the child's photo.