This is one of the problems when people get offended on behalf of others.
You need to understand the relationship between them that makes them comfortable enough to joke, the situation that lead to them joking, & the location in which they are making the joke. In the privacy of our own homes, I'll crack Hispanic jokes with some of my Latin friends and they're completely fine with it; at times, they joke with others I'm more Hispanic than them b/c I've been around Latin people so much growing up, whether as friends or co-workers, and I know many of the upbringings that are joked about within Hispanic culture; the chancla, the way real street tacos are made, your mother questioning about everything if you want to leave, Sprite & VapoRub, etc. I even joke my white side came out if I did something obscure. I've known these people for over a decade, so we're more than comfortable enough with each other to make jokes b/c we know we're not racist and don't actually mean the things we may say. The people in that photo are probably the same way and that's why context matters when it comes to jokes.
This is why nothing is exempt from the world of comedy, why White Chicks gets a pass just as much as Tropic Thunder and Trading Places; they're jokes. Those actors and the people in that photo are not racist, likely don't condone racism, and wouldn't be doing those things out in public towards others they don't know. Eddie Murphy was cracking all sorts of dirty, offensive jokes when Trading Places was released (his most famous stand-up Delirious and Trading Places were both in 1983), and he was fine with Dan Aykroyd being black face for a comedy bit. His character was a white guy dressing in blackface as a Rastafarian trying to steal a report with Eddie's character from another man as part of the plot to get revenge on their former employers for bankrupting them over a personal bet. It is explained in the film, just as in White Chicks and Tropic Thunder, why they portray the other race. Tropic Thunder even self acknowledges the situation and makes a great one-liner about it that fits perfectly within' the plot of the film (movie actors filming a movie in what turns out to be a war zone whilst believing they're still filming a movie). It isn't like old movies where they could've gotten a black man (or white women) to do the role b/c it would actually require the movie to be re-written, therefore, excluding a major jest of the movie. It's why White Chicks is funny to begin with.