This is James P. O'Dea (left) and Fred McDonagh raising a glass at a pub in Moyvalley, Co. Kildare. By the looks of the CIÉ logo on Fred's jacket, he was one of the many railway workers all over Ireland, who would have known James very well.
Originally, we just knew the railwayman as Fred, but his grandson Traingraham identified him as Fred McDonagh, who lived in the station in Moyvalley till he died on 7 July 1977.
A couple of commenters have suggested that this was Furey's Pub in Moyvalley.
James O'Dea was the photographer responsible for many of the train and railway photos you'll see here on our photostream. He was a founding member of the Irish Railway Records Society in 1946. James was also nephew of the famous Dublin comedian and entertainer, Jimmy O'Dea.
Date: Wednesday, 23 August 1961
NLI Ref.: ODEA27/19