I am currently working on a page where I have an image that changes its source using JavaScript. However, I would like to enhance this by adding a beautiful sliding effect when the image changes. My goal is to create a seamless transition so that when a button is clicked to change the image, the first image smoothly disappears and the new one elegantly appears (without any sudden movements or blinking).