A man who “buried his head in the sand”, when facing a trial for possessing child abuse images, has had his “one chance” to avoid an immediate prison sentence.