You might want to take a look at the marketplace for Carousel: https://marketplace.mendix.com/link/component/47784
This might do what you want. Otherwise use a microflow as datasource for the image and use the click action to retrieve another image.
Regards,
Ronald