Why Magento2 is showing the Main products(Configured products) image in child product while choosing the option from the products details page. I don't want to show the main product image in the child image on option selection as shown in the screenshot.
In the first screenshot, I have marked the configured product with the red color arrow.
In the second screenshot you can see after option selection there are two images one is from a child product which is a simple product image and the other one is the main product image. Hence I want to eliminate that main product image after the option is selected.