Drop Down list in portal to insert picture in container field on same layout
I am looking to have a drop down list in a portal with a name for each picture i.e. pic 1 etc. I would then like to attach a picture to each name so that when I access each picture i.e pic 1, pic 2 etc the appropriate picture can be viewed in the container field. Both portal with drop down list and container are on same layout. I understand that what I am trying to do can be done through a script and/or through a relationship. I have tried both but can't raise the connected picture.