I created a webpart in visual studio2010 which show a few images. These images are located on the servermachine. The problem is that i can not show these images to clients. When i run the webpart project on the server where the sharepoint site is located the images are displayes. When i contact the sharepointsite from a different machine it does not show the images.
The Images are loaded into a System.Web.UI.WebControls.Image object using the following code.
Image img = new Image();
img.ImageUrl = @"C:\SharePoint\Temp\Imgname.jpg";
I'd figure it's the ImageUrl that's not working but i do not know how to use or create a imageurl which a client can use.
So how do i display a image which both server and client can see on the page?
