I think it is using absolute url. Doesn't it show the Image properly? I tried to do the same in the Page_Load() and it works.
>I am trying display an image using an absolute file name stored in a VFP field.
>Ex: c:\foldername\picturename.jpg
>
>This is the line of code:
>Image1.ImageUrl = reader("hpfilename")
>
>It returns:
>file:///c:\foldername\picturename.jpg
>
>Appears to be trying to use a relative file name. Any way to specify as absolute or is there another way, besides moving the file into my asp.net folder?
>
>Many thanks,
>
>Todd
- Jayesh