You can use a button with no text, transparent background,
and the choice of your two images as a background.
Each button push, check the background image and replace it
with the other one.
If you want swipe action, use a small canvas instead with transparent background,
and the choice of your two images as a background.
When you get a swipe, use the x direction to decide which
background image to apply.
ABG