Fashion photographer David LaChapelle’s faced some dangerous assignments — like shooting last year’s Kardashian family Christmas card — but he wasn’t taking any chances when he landed in Vienna for the Life Ball.

The lensman has become the target of Austria’s far-right Freedom Party (FPO), which has been described as neo-Nazi, after he created posters for the annual Austrian HIV/AIDS gala depicting naked transgender model Carmen Carrera in a garden with alternately female and male genitalia.

“David and Carmen both had four bodyguards each from the minute they landed in Vienna until the minute they left,” said a rep for the photographer, who had an exhibition at a Vienna gallery this week following the Life Ball, which included nude images of Carrera.

The FPO had filed suit against the Life Ball, and its spokesperson claimed that LaChapelle’s work “[doesn’t] just cross the boundaries of good taste…but…also the limits of criminal law.” But the posters, LaChapelle pointed out, had been ­approved as art by the city before they were hung in train stations and other public places.

Some who objected to the images began defacing them by covering up Carrera’s exposed parts with spray paint. One 70-year-old woman, who graffitied the posters after dark, in a local report said of the images of busty Carrera with a penis: “My 4-year-old grandson asked me while walking if I actually also have a spatzi.” (We’ll let you figure out the translation on that one.)

In the end, all the controversy only amped up interest in the LaChapelle work. An original ­image titled “Once in the Garden,” on which the posters were based, was expected to sell for $41,000 at the Life Ball’s auction, but went for a record-breaking $245,500. An Audi car designed by LaChapelle sold to members of the Missoni family for $136,400.

“Art was victorious…it was all love,” LaChapelle told Page Six of the event, where Ricky Martin and Kesha performed, and guests included Bill Clinton and Courtney Love.