An Edinburgh primary school is warning parents about a predator targeting pupils online to manipulate them into sending explicit images.