How to make Image Range Slider

Hi there!
I wanna make image range slider like when the user drags the slider, the image will change, on every drag image will change, I don’t know how to make this in my project, also I have a reference link, I want exactly like this image range slider which is in the reference link. (

can someone help me like how can I make this thing?