Image Problem

X

Xarky

Hi,
In one of the pages I have placed an image. This is located in the
following directory.
Inetpub\wwwroot\ProjectName\bin\MyImage.jpg

Now when I access the page from the same machine I can view the image,
and when I try from another pc, image is not viewed.

Is that a wrong path where to locate and load images from?

Can someone help me out.
Thanks in Advance
 
K

Kevin Spencer

That is a file path to a location on your local machine. In a web page, you
should be using a URL.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
K

Kevin Spencer

Well, Patrick, I can't tell you that based on what you posted. PROBABLY
"/ProjectPath/bin/Image.jpg" - although I can't for the life of me figure
out why you're keeping images in the bin folder. Shouldn't cause a problem,
though... I THINK.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
X

xarky d_best

The ImageUrl in the property of the image is the following -
file:///C:\Inetpub\wwwroot\CSA3909\bin\Login.jpg

Can you please specify in which folder images are located, and in what
url I can access them.


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top