It unlocks after you finish the game and return to the main menu. If you finish the game with the beard toogled on, you get the "beard/hairy" gallery and if you finish the game with the beard toogled off, you get the "no beard/no hair" gallery.
It's the same for every version of the game.