A pilot poses for a photo in the cockpit of an airplane .