Use conditional visibility for that. You can then use a boolean attribute or a microflow to determine which of the images it should show. Or you could us a microflow as source for the dataview that retrieve the right picture to show.
Regards,
Ronald