This is a black and white animated gif from the 1926 classic comedy film, The General, of Johnny Gray (Buster Keaton) sitting on a train's side connecting rods as the train pulls into the shed.

from the classic 1926 film,
The General