A former high school teacher in Virginia was charged Wednesday with transporting and possessing child pornography, a discovery that was made after he was accused of engaging in sexual acts with a 16-year-old male former student, according to court documents.