ThomasVdBerge
ThomasVdBerge

Reputation: 8140

Silverlight 4 - Display Images

I am using the following tutorial to implement a gile upload system : file-upload-in-silverlight-a-simple-solution. I can get the images to upload into my Projects.Web folder. However, in my silverlight project I cannot get them to display. This is what I am using to display the image.

<Image Source="..//Theme/Theme2.jpg"/>

However, that fails to display anything although I am sure the path is correct.

Upvotes: 2

Views: 697

Answers (1)

Emond
Emond

Reputation: 50712

If the image is in the ClientBin folder you can use: /images/theme/theme2.jpg

If the image is in the root of the web you can use: http://localhost:57097/images/theme/theme2.jpg

Upvotes: 1

Related Questions