Local sentenced on child porn charge