How would you say: "This is my family photo taken two years ago of my younger brother's 10th birthday party." I want to say

This is a family photo taken two years ago of my younger brother's 10th birthday party.

I think I can break it up in separate sentences, e.g.
这是我全家的合影，是两年前拍了。我弟弟的十岁生日的时候。
But is there a way of saying it all in one sentence?
Here are my attempts:


这(张)是我全家的合影，是两年前的弟弟的十岁生日时所拍了。
这两年前的全家的合影，是我弟弟的十岁生日时所拍了。
两年前的弟弟的十岁生日时，我们照了这张片，是我全家的合影。


Which one do you think makes the most sense? If they are incorrect, can you please provide a correction with an explanation?
多谢！
我认为这样就可以了

这张全家福是两年前在我弟弟十岁生日聚会时拍的。