I would definitely move away and have a fresh start.
It sounds like you’re not just involved with him but his friends and family too.
You need to let him go and let him live his own life and I don’t think you can do that whilst you’re still living so close and in contact.
You shouldn’t even have his number, let alone his friends or mums.
Delete them all and move on.
You committed a crime which the maximum sentence is a prison sentence and having to sign the sex offenders register.
You did it to try and humiliate him and you didn’t just send it to one person, you put thought into what would cause the most damage, which will not be taken lightly.
I doubt you’ll receive those things though because men typically don’t report these crimes (even women underreport them) but this should be a massive wake up call to you and prove that you cannot ever have any contact with him or anyone he knows ever again, else you are going to pay for it.
The police can get old messages even if they’ve been deleted off your phone/the cloud and so that shouldn’t stop you from reporting things.
Apologise to him and say that you are stepping away and to not contact you again.
Then delete/ block his number - try and get a new one if possible.
If he tried contacting you, ask him not to and if he tries again warn him with the police.
If he keeps trying or is getting aggressive then definitely contact the police.
If it does go further, then your actions afterwards will be taken into consideration.
Acting remorseful and stopping all contact with him and people he knows will work in your favour.
If you have contact with him or meet in person etc then you could be seen as being manipulative and using the images to control him into staying in touch with you.
If you have nothing tying you to the area then definitely move if you cannot emotionally break away from him.
It sounds like a fresh start might be nice for you anyway.