Hi Ablikim,
Depending on your use case I would suggest a couple options. Maybe you can create a gif/video of the images and use that instead.
Another option could be a widget like this one: https://marketplace.mendix.com/link/component/212995
And the last one you might want to look into is CSS transitions.
https://www.w3schools.com/css/css3_transitions.asp
They all have their pros and cons depending on your use case and skill level. Hope this helps