Image Revealing Slider

I am trying to generate a slide where I have 2 images that, when the user moves a slider across the screen of image 1 that it reveals the same part of image 2.  Sort of like an interactive "before and after".  I'd like them to be able to move the slider back and forth and be able to see the alternating images.  I have seen this functionality out there, but have struggled to replicate it

1 Reply