Create a button/toggle that changes a displayed image?

I'm looking to create a button/toggle I can use to change an image that is displayed on a webpage (I am using Wordpress). What I am trying to accomplish is show how a product looks during the day and at night. I've tried the "before/after" slider type things but they aren't giving the desired effect. I'm looking for something that is like "turning off the lights" - The best example of something I could find is on this page (https://usd.farer.com/products/lander) where you can click the "Lume" button to change what is displayed.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum