How can I only display variant images when the specific color is selected?

Thank you so much for the assistance!

And to all the guys in here. Everything i do,just totally don’t work,so maybe i’m doing something wrong.

I’ll request both requests,for sure!

Sofia