Using multiple dropdown menus to show specific image

Hey everyone!

I have 3 different drop down bars (Color, Size, Type) which collectively make up 48 different options to choose from when they are all pieced together (4 color options, 6 size options, 2 type options). I am having trouble figuring out the right code to make so I can have all 3 of the drop down menus work together to show a specific photo. For example, If someone chose Color A, Size A, and Type A, then photo AAA would appear, and the other 47 photos would stay hidden. If they then change Color A to Color B, then AAA hides and Photo BAA would show.

I have to make these all dependant on each other since I will be using this as a shop feature, and adding a button for payment using the same premise that I would figure out for the image. If you know of a better way to do this (Utilizing the Dataset feature better or anything else I may not be aware of) I am open to options.