Make image widget show multiple different images depending on received value

Could you make the image widget to hold more than 1 image and change it depending on value input?

Use case: I want to load several specific waveform pictures and make them change on button press.

Say when widget gets Midi 0-43, 44-86, 87-128 or OSC equivalent respectively, it switches between 3 corresponding images.