How can I code variant-specific images in the Dawn theme?

Hey hey

I have a tee that comes in white and black and at the moment they are listed separately. At the moment if I put the colour variant in as white and black and I select white it will show the image that is assigned to it but also showing all the other images underneath which I don’t want. I just want it to show the white variant photos when someone selects white and then the black variants when someone selects black. Is this possible to code in? I am using the dawn theme.

yeah I thought that was the case. I’ve looked online and haven’t found to much. I did find a YouTube video but when following it I couldn’t get it working.