Man... this turn to be something that dont give me much of a hope for a happy end, not one with them together.
Im sure it wasnt Yui, but that phot was exactly what Yui saw that day.
Also, isnt Tomoko probably the one who took the photo in the infirmary? Her reaction at the funeral and the way she talked about Yui and Tsukasa being together...