How to make a widget image correspond to specific references in a shuffled array?

I have a very simple game. There is a first person player and they are placed in a room with a character. Pressing space bar changes the character the first person player is in the room with. There are about 24 characters and they are all in an array that is shuffled so the characters are presented randomly. I have separate image files for the faces of each of these 24 characters. I need the face image which corresponds to the character to be next presented to display on the screen for a few moments before the character appears.

The only part I need help with is how to program the widget so that it selects the correct face image for the character pulled from the shuffled array. Can anyone point me in the right direction?