A Photograph is a 1977 teleplay, one of the episodes of Play for Today, a British anthology TV series. It is described in reviews as a psychological thriller. The ending is certainly unexpected.
I watched this online but see no evidence of so much as a single clip from it now. What a shame.
I do see this trailer for an upcoming blu-ray release of the series, and a clip from "A Photograph" is included: