Hi,
Try ~/images/img.gif
Ken
-------------
"simon" <me@here.com> wrote in message
news:rpsau19m674th3kt5qegf77o0j178i11be@4ax.com...[color=blue]
> hello,
> i almost feel stupid asking about this topic, but since i'm new to
> vb.net what the hell....
> i'm having a ridiculously hard time to get paths to be recognized
> within aspx pages.
> here is what i found (using VS 2003)
>
> /images/img.gif is invalid in VS, doesn't work in browser
> ../images/img.gif is valid in VS, but does not display in browser
>
>
http://localhost/Test1/images/logo.gif works
>
> images\logo.gif works in browser, but not in design mode (this also
> assumes your are in a page at the root level.
>
> \images\logo.gif doesn't work in either
>
> this is nuts! or i'm just stupid....
>
> every other language i've dealt with the "/" would be the root and if
> your pics are in the images directory then "/images/xyz.gif" would
> access it.
>
> what the hell am i missing? thanks :)
>[/color]