Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

At Vanity Fair’s starry Cannes Film Festival party, Pamela Anderson was thinking about jailed pal Julian Assange as other celebs celebrated.

“It’s a nightmare. He doesn’t deserve to be there,” the former “Baywatch” star told us at the Hotel du Cap-Eden-Roc of the legendary leaker who’s in notorious London prison Belmarsh.

“He needs public support,” Anderson, who recently visited Assange, said. “We have to change public opinion because people have so much misinformation . . . They have to realize he’s a human being that’s fighting for everybody.”

Meanwhile, Robert Pattinson, Alfonso Cuarón, Miles Teller and Chloë Sevigny schmoozed as Shailene Woodley unsuccessfully tried to coax a pal to dance.

But Chris Tucker kicked off a dance circle that lasted till 3 a.m.

“He was singing, getting people to raise their arms, getting in the middle,” said a spy.

Tucker told us about his first Cannes fest, when he “rolled down on a boat” to the premiere of “The Fifth Element” in 1997 because “traffic was so bad.”

Dita Von Teese, in a silver sequined gown and red lipstick, told us, “I love to overdress.”

Priyanka Chopra and Nick Jonas gazed at each other, while Quentin Tarantino was spotted rubbing new wife Daniela Pick’s back.

Also at the bash hosted by VF editor Radhika Jones were Alejandro González Iñárritu, Yorgos Lanthimos, Whit Stillman, Jean Pigozzi, Len Blavatnik, Tom Bernard, Michael Barker, and Andrew Saffir and Daniel Benedict.