Re: Images on server.

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Apr 4, 1:45 pm, "rcoco" <nclau...@xxxxxxxx> wrote:
On localhost, the code: ImageUrl="/images/logo.jpg" works but when
deployed on server it doesnot work? Why is it so?
Thanks.

On the server you should have the same configuration as on the
localhost. Namely,

1) the aspx page is in the root directory
2) the root directory has /images
3) logo.JPG is in the /images

.


Quantcast