How to change image widget with a value input

yes, you are right. You can change the image on your widget using Set Brush from texture.

I recomend you to use an array of textures so you only need to pass the id of the card you need.
Here you got an example:

Of couse this is only an example on the begin play event. You need to have a reference to your widget and then get the reference to the image inside.