A bitter battle involving photographs of a topless woman, charges of sexual discrimination and extortion took a new turn yesterday when a Manhattan judge sanctioned a lawyer for bringing what he called a harassing lawsuit against his adversary.

After attorney Douglas H. Wigdor allegedly refused to return racy images of Sandra Piedrabuena Abrams unless his clients were paid $2.5 million to settle claims of harassment, Ms. Abrams’ lawyer, Ronald M. Green, sued Mr. Wigdor and his firm, calling the demand “nothing short of blackmail.”