The short answer
Do not infer that people of different apparent ages are grandparents, parents and children simply because they stand together in one photograph. They may be step-relatives, foster family, lifelong friends or caregivers. Start with the source record and ask the pictured people, where possible, how they describe their relationships. A photograph can celebrate several generations without printing a genealogical chart on the wall. If the relationships are uncertain, choose a neutral, factually supported caption such as a family gathering or the occasion's verified location rather than assigning names to imagined branches.
What to consider
Compare the image with any reliable album notes, and avoid using hairstyle or clothing as proof of age or kinship. A meaningful crop should preserve the interactions among the people instead of removing someone merely to create a tidy three-generation pattern. Confirm reproduction rights with the photographer and obtain appropriate consent, especially where children or private family histories are involved. If an explanatory family tree would disclose sensitive circumstances, keep it in an appropriately controlled album. The people should define their relationships; the editor should not create them through labels.