How to make picture as filter for a configurable product


I want to implement product image as a filter attribute for configurable product as shown on the image below.

So a user can choose a product to order. But I do not see such option, its just text/visual swatch. Is there a way I can implement this?