A mugshot of a man with a caved-in head is going viral on the internet.