With all due respect this is what the OP wrote:
"But if the girl has given consent, and could easily be a escort doing some photo shoots, then this would be a crime".
Pray tell how if she has given permission it can be a crime.
Just to make the law clear, here is the official information which makes it clear that it has to be "without their knowledge".
"Upskirting is a highly intrusive practice, which typically involves someone taking a picture under another person’s clothing without their knowledge, with the intention of viewing their genitals or buttocks (with or without underwear)".
They can only they give permission if they know.
Simples.
No, this is what the OP wrote, he didn't just write the part you are quoting.
"As far as I can make out on google, and various posts:
If the girl dosn't consent to photo's being taken up her skirt then it against the law. But if the girl has given consent, and could easily be a escort doing some photo shoots, then this would be a crime
Now I see loads of photos on google image, now the question here, how many of these girls have given consent for a photo to be taken up her skirt"
You responded to the whole post it's only now you are highlighting the part you meant to question.
I know what the law is, I posted the link for you.
Edit, not sure what this means "They can only they give permission if they know." but unless you ask them if you can take the photo and they say yes then it's illegal. Even if they never find out it's been done a crime has still been committed.