how to load image from url?


I am trying to display two thumbnails(different sizes) of the same image.

The smaller thumbnail loads correctly, and the other one doesn't.

On Winphone, the image which fails to load throws an unhandled exception. While on IOS, and android it doesnt get displayed.

I am using "ImageSource.FromUri" to load the images. I tried loading various other remote images(from a different source), and they all worked. i dont know why this one fails.

I also downloaded the image which is failing, included it as a resource, used "ImageSource.FromFile", and it worked.

Attached is a minimal sample project containing the two images.

I've been through the documentation, and the forums, but i couldn't find anything related.

Any help is appreciated.


Sign In or Register to comment.