Inappropriate Photographs

I recently discovered that my 12 year old daughter had been posting inappropriate photographs of herself to two boys in the town. I am distraught and embarrassed as I know that quite a few people have seen them. I have taken away her phone, but I don’t know what more I should do or say to her to make her realise the seriousness of what she did?