A group of smiling people are posing outdoors for a picture.
The group of people are smiling for their family photo.
You can not infer it's for a family photo.
Every picture is not a family photo.
There is no indication they are a family.  They could just be friends, or even strangers.