A question on Options...

I have a situation where I want to use an option to change the color of a product. I created the options in my control panel all right and the images appear fine as icons.



Problem is, when the user either clicks on an icon or changes the value in the options drop-down, I want the MAIN pic for the product to change as well. What am i missing?