A pervert has avoided jail after he was found to have a vile collection of child sex abuse photos on his mobile phone.