Toss Net
Toss Net

Reputation: 550

Image Uri does not appear in XAML

I don't understand the problem : I have a link of an image but it does not visible :

<Image Source="http://www.bestofleboncoin.fr/img/adsok/thumbs/304409998.jpg" Margin="0,10,0,0" />

if I download this picture and save it in the solution it's ok !

<Image Source="/304409998.jpg" Margin="0,10,0,0" />

If I upload on my personal website, this image is visible too..

Upvotes: 0

Views: 92

Answers (2)

Toss Net
Toss Net

Reputation: 550

I have a little solution but I don't know about performances ....

  <phone:WebBrowser Name="Browser" Source="{Binding Links[1].Uri}"  />

Upvotes: 0

Toni Petrina
Toni Petrina

Reputation: 7122

Can you download it using WebClient and then display it inside your control? Besides, you are supposed to just that for performance reasons.

It appears as if the site in question forbids direct linking.

Upvotes: 1

Related Questions