Apparel Customization Database Advice

Hi everyone,

I’m trying to set up an apparel customization page. In a sidebar, there are several criteria such as apparel type, color, and sizes. To the right of that is a live preview. I’ve been racking my brain trying to figure out how to structure the database so when a user selects the Type dropdown, that type is presented (with a default color), then as the color selection is modified, it changes to a variant image of that color.

Would anyone like to weigh in on this? My brain is in a knot.

Thanks!