linking 16 images to 2 separate product options

Aloha! Please help me with coding info! Wix tells me this is possible and sent me here.
I’m building an artist website selling paintings and their prints. On each one of my print’s product pages, I supply one purchase option that allows the customer to select one of four art print sizes of a particular painting, like either a 16"x 24", 20"x 30", 24"x 36", or a 30" x 45". I then have a second option to choose one of four framing purchase options.
As such, I need to show 16 different images of the same painting’s print (these 16 images will all show the same frame width, compared to the various four sizes of the print, and will also show the type of frame available). I hope to find coding that makes the image change that is shown at the top of each product’s page, each time one of these two option combinations is selected.