The most challenging part of this website was the sorting function. Each one of the Types Of Stones pages shows a variable number of stone images and the client required them to be ordered by colour, obviously there are so many criteria by which this can be achieved and it took some time to find the right one.
To simplify this process, I’ve integrated Color Thief into the Wordpress backend. Given a stone image, the predominant colour can be extracted with a click.
Finally, the images are ordered by the HUE attribute. The website also has a product search function where the resulting stone images can by filtered by Type, Finish, Room and Colour.