A man from Swindon has been sentenced for breaching a sexual harm prevention order and being in possession of extreme pornographic images.