Defence lawyer John Watson sought home detention for Fraser saying it was a viable sentence and any concerns about his client accessing the internet could be satisfied with strict conditions.
But Crown prosecutor Moana Jarman-Taylor said imprisonment was the only option to meet the principles of deterrence and denunciation in the Sentencing Act.
Judge Harvey said even now Fraser was not fully accepting responsibility for the images, although he did at least admit that he got sexual gratification from some of them, and as a judge he had to hold him accountable for his actions and deter others.
He sentenced Fraser to 20 months' jail, saying home detention was not an option.
"The reason for that is that the courts must do everything in their power to stop the filthy trade of child pornographic images," Judge Harvey said.
"And to make it very clear to people that are minded to look at, store or trade these images that if they do so and are caught they will go to prison."
He said home detention would not be enough of a deterrent to make clear to the community that this type of offending would not be tolerated by the courts.
Fraser had a previous conviction for indecent assault on a girl aged 12-16 in 1995.