Gov. Ralph Northam of Virginia is the latest and most prominent political figure to be engulfed in controversy over the wearing of blackface or other racially offensive imagery, but hardly the only one.

Faced with widespread calls for his resignation, Mr. Northam has tried to extricate himself from a firestorm over a photo on his page in a 1984 medical school yearbook. Though he had initially acknowledged responsibility and apologized, he denied on Saturday that he was either of the people in the photo — one in Ku Klux Klan robes, the other in blackface.

Other politicians caught up in scandals over racially offensive photos in recent years have usually resigned or been rejected by voters. Here are some examples from around the country.