Image question

W

Woody Splawn

I have a small appliaction where I have placed an image control on an aspx
web page. In the ImageURL property of the Image control I point to where a
..jpg file resides. This is all done on localhost. I copy the project to
the web. However, when web page is viewed using the web no picture is seen,
just an icon that represent the picture.

Can someone tell me what I am doing wrong. If it is of interest, I see the
picture when I access the web from the same computer from which I created
the application, but not from other machines. When I select Project, Copy
Project, the radio is on "All files in the source project folder"


What am I missing?
 
K

Kevin Spencer

It sounds like your link is using a local file path rather than a URL to a
location in your web.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
P

Peter Rilling

Take a look at the properties for that image (right-click on the image in
the browser to view the properties) and see what the browser says is the
location of the image. Check to see if it is what you expect.
 
D

dgk

Take a look at the properties for that image (right-click on the image in
the browser to view the properties) and see what the browser says is the
location of the image. Check to see if it is what you expect.

I have the same problem. The jpg doesn't download in the page, it has
to pull it from a url somewhere? So I have to create a repository for
my images on some specific url?
 

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

Top