Re: strange problem
From: EMW (SomeOne_at_MicroSoftdotCom)
Date: 07/03/04
- Next message: M. Zeeshan Mustafa: "Re: bypassing a validation"
- Previous message: Brian Cooper: "Permissions Problem"
- In reply to: Ken Cox [Microsoft MVP]: "Re: strange problem"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 3 Jul 2004 20:10:20 +0200
Finally solved it. This page helped:
http://west-wind.com/weblog/posts/269.aspx
for the imageurl I needed to use "~/fotos/image1.jpg".
thanks!
Eric
"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> schreef in bericht
news:ui$AEEQYEHA.2364@TK2MSFTNGP12.phx.gbl...
> You can't use a physical path like that because the browser will look on
the
> local machine for the image. You have to use a relative path.
>
> That's where your problem lies. You can't use the file system path that
way.
>
> Ken
>
> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
> news:40e67498$0$62399$5fc3050@dreader2.news.tiscali.nl...
> > btw. I use the physical path of the application to locate the images and
> > pass this on to every image.
> >
> > ie.: img.imageurl = "d:\inetpub\wwwroot\........\image.jpg"
> >
> > There is a few folders in the dotted space, but I didn't want to write
> > them
> > all...
> >
> > If I call an image in IE with http:// etc. then it shows the image.
> >
> > I'm puzzeled...
> >
> > rg,
> > Eric
> >
> >
> >
> > "Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> schreef in
bericht
> > news:OvSCsVKYEHA.1652@TK2MSFTNGP09.phx.gbl...
> >> Is it possible that your browser or a proxy server has cached a
> > non-existent
> >> version of the images? Make sure IE is set to get a new page every
time.
> >>
> >> I worked at a place where the system cached pages so aggressively that
it
> >> was almost impossible to tell if a problem had been fixed.
> >>
> >> When you right-click on the missing image to check the properties, does
> >> it
> >> give a clue as to where the server "thinks" the image is located?
> >>
> >> Ken
> >>
> >>
> >> "EMW" <SomeOne@MicroSoftdotCom> wrote in message
> >> news:40e5e76c$0$62380$5fc3050@dreader2.news.tiscali.nl...
> >> > On my pc on which I created my aspx files, my site works fine.
> >> > I use IIS5 and is does everything I want it to do.
> >> >
> >> > I moved my site to the networkserver (it's a intranet site) and then
> >> > something strange happens.
> >> >
> >> > On my photo page, I show a few pictures that are found in a certain
> >> > folder.
> >> > But instead of seeing my pictures, I see only the placeholders with a
> >> > little
> >> > icon in the left-upper corner with a red cross in it.
> >> > I know it finds the files, because if I change the filepath in the
apsx
> >> > file, I get a message telling me the file cannot be found.
> >> >
> >> > But why are my pictures not normaly visible?
> >> > If I go to them via an URL, I can see them in my explorer.
> >> >
> >> > Because there is a list created, before the pictures are shown, I can
> > see
> >> > that all my picture - filenames are put in that list, so the program
> > does
> >> > find them.
> >> > it just isn't showing them.
> >> >
> >> > Please advise?
> >> >
> >> > rg,
> >> > Eric
> >> >
> >> >
> >>
> >
> >
>
- Next message: M. Zeeshan Mustafa: "Re: bypassing a validation"
- Previous message: Brian Cooper: "Permissions Problem"
- In reply to: Ken Cox [Microsoft MVP]: "Re: strange problem"
- Messages sorted by: [ date ] [ thread ]