How to change image widget with a value input

Well. the mechanics of the card can be wherever you want. in the level blueprint. or controller blueprint. or character blueprint. Even inside the widget. The key is just reference to the correct object and the correct subobject from where you are.
When you create an add to viewport your widget, promote it as a variable, so later you can reference him to change the images inside.