The short answer
Honor an absent relative by making the absence explicit rather than placing them digitally into a gathering where they did not stand. An approved portrait of the person can be displayed as a separate tile next to a genuine group photograph, or the gallery might include a meaningful object or place associated with them. Ask close family members what feels respectful and whether the person would have welcomed such a public or semi-public tribute. A memorial should not automatically transform a private album image into wall decoration visible to every visitor.
What to consider
Keep each source photograph tied to its real occasion and avoid a single caption that implies the relative attended the event pictured beside their portrait. If a commemorative collage is created intentionally, label its constructed nature and obtain relevant reproduction and likeness permissions. Do not use a generative face as if it were a restored original. A separate image can carry the person's presence in family memory without rewriting the camera record. If opinions differ or the material is emotionally sensitive, a private album may be more considerate than a permanent visible tribute.