Bathrooms are pretty private places. They have doors and frosted windows. How does this person get the photographs without the cooperation of the subject?
If the photographs were of yourself, and if they were taken without permission, and IF you can prove that, you have every chance of a successful outcome.
If they were taken with permission, then the relationship broke down and they were published out of spite, your privacy has still been invaded and IF you can prove that this is the case, you would also have grounds to sue.
Whatever the circumstances, this sounds like a particularly unpleasant person. Talk to a lawyer or to the police.