A child smiling for a picture.
An adult taking a picture of a tree.
One cannot be an adult and a child at the same time.  Smiling for a picture implies the child was going to be photographed not the tree.
(-x)
(-x)