Teacher arrested for posting ‘obscene’ photographs with student