Most likely, taking pictures from outside is not a violation of your privacy. If the window could be seen from any area that is considered public, then it can be photographed. Once you stepped outside, you were in the common area and she could photograph you. It may be annoying, but it is not a violation of your privacy.
It is possible that what you call "harassment" could be sufficient to get a restraining order. But you will have to discuss that in person with an attorney.