Not if they wish to use the pictures against the defendant. If the defendant wants to go to trial for the violations, they might challenge the images and for them to be used, someone may need to testify as to the location. date and time they were taken.
If the pictures were taken from a place where the picture taker had a right to be, then there is no issue. Heck, in most instances if a private person takes a photo even from the other person's private property it might still be used against them.The person who received a formal Notice of Violations from the code enforcement department suspects pictures were taken documenting their activities but she has no proof of the pictures or who took them.
She may think taking pictures is a violation of her privacy but for myself, that is all confidential.
You have no right to remain confidential. In fact, if things go to a criminal trial they will more than likely have to give up the names of any complaining parties they have a record of - especially if they intend to use that information against the defendant. In a civil trial they can also be forced to give the information up. But, it doesn't sound like you did anything that could be criminal or that they could collect money from in a civil trial.I have another concern. If it comes to it, I don't know how to defend myself based on my identity as an informant being confidential. Code enforcement does not involve themselves with civil litigation.

