A paedophile with a long history of offending has been jailed after he sent naked photos of himself over WhatsApp.