I believe most employment contracts mention not using employers property i.e. laptop, pc, mobile phone to download or view indecent images.
They're not "indecent images." That term refers to illegal pornography, and it goes without saying that that's a sackable offence.
Now if the employer wants to set rules about use of property, fair enough, but that's the employer... getting struck off is a huge step above that.