spider
spider

Reputation: 1

Load a picture from a site into an Image control

I'm new into Windows phone so I've a question:

I would like to get a picture from a site in my application.

Say that I should use this picture: http://static.lampandlight.eu/img/deltalight-vice-versa-f-led-zwart-goud-mat_89221-1.jpg

How should I do it?

Thanks

Upvotes: 0

Views: 72

Answers (2)

Den
Den

Reputation: 16826

Something like this should work:

BitmapImage image = new BitmapImage(new Uri("URL_TO_IMAGE", UriKind.Absolute));
imageControl.Source = image;

Upvotes: 2

Related Questions