How do I get Texture from material (Blueprints)

In your Material, convert your Texture2D to Texture2D Parameter and give it a name. Then in your Widget Blueprint assign this Material to your Image widget. Finally inside your graph, drag the Image widget and using the below network you can change the texture as you like.