Pilot banned from flying for life after passenger cockpit photo emerges