If it doesn't exist already, create a Gfx folder in the place where your save game data goes (My Documents\My Games\GC2TwilightArnor for example). Create Logo and Portraits folders inside that. Put the images in the right folders and you should be all set.

Images should be PNG format.

Portraits should be 256 by 256. For bonus points, if you can make a wide version of the portrait which is 430 by 280, you can use it as a static image to be displayed on the viewscreen when in communication with that race. This requires some manual editing of that race's raceconfigxml file to work, but it will eliminate that stretched-out look that custom portraits have by default in those situations.

I've been trying to create my own race and can't get the game to switch between the two imgaes for their respective screens. I have 2 images in my \GC2TwilightArnor\Gfx\Portraits folder: one is a portrait (256 by 256, "Rake.png") you see when choosing a race and the other is a wider picture (430 by 280, "RakeWide.png") for the diplomacy screen. I just can't get the game to switch between the two for their respective screens. Can someone tell me what to type in the race config?

Bear in mind though, if you're modifying raceconfig.xml directly to add a new race (this isn't strictly necessary) that an older version of that race in a raceconfigxml file won't automatically update, which may prevent you from seeing the new images.