Cloud Training (Online)

How to Load External Image via URL in Windows Phone?

If you want to load an external image from a website to your Windows Phone Application, you can easily do it by assigning the URI to the Bitmap Image .

In the below example, an Image is picked from an URL and then is displayed in the Image control in Windows Phone.

 private void button1_Click(object sender, RoutedEventArgs e)
       image1.Source = new BitmapImage(new Uri("", UriKind.Absolute)); 

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.