I have an image folder which need to be place outside the root of my web
folder.
but still I need to pull the images using relative path to display on my
website ...

how should I do this ??

How can I set the virtual path for the image files in the folder outside my
root web folder ?

I need it so that client can access the image folder manually as well as
using my web application.

any solution ?


Vips

Re: accessing folder outside the web folder(virtual directory) by Kristofer

Kristofer
Mon Jun 20 10:50:40 CDT 2005

Create a virtual directory pointing to the folder. The wizard will help
you.

> How can I set the virtual path for the image files in the folder outside
my
> root web folder ?

Not sure i follow this. What is a virtual path? Where do you set this
"virtual path"?

--
Regards,
Kristofer Gafvert (IIS MVP)
www.gafvert.info - My Articles and help
www.ilopia.com


vips wrote:

> I have an image folder which need to be place outside the root of my web
> folder.
> but still I need to pull the images using relative path to display on my
> website ...
>
> how should I do this ??
>
> How can I set the virtual path for the image files in the folder outside
my
> root web folder ?
>
> I need it so that client can access the image folder manually as well as
> using my web application.
>
> any solution ?
>
>
> Vips

RE: accessing folder outside the web folder(virtual directory) by AlokKumar

AlokKumar
Mon Jun 20 11:19:05 CDT 2005

You can create a virtual directory. i.e. if your document root is
c:\inetpub\wwwroot\ and then images directory is c:\images then you can
create a "virtual directory" in IIS called "images" and then point it to
c:\images. Remember to add iusr_xxx account to this c:]images directory. Now
you can use <img src="/images/..."> wiin your web site.

Alok

"vips" wrote:

> I have an image folder which need to be place outside the root of my web
> folder.
> but still I need to pull the images using relative path to display on my
> website ...
>
> how should I do this ??
>
> How can I set the virtual path for the image files in the folder outside my
> root web folder ?
>
> I need it so that client can access the image folder manually as well as
> using my web application.
>
> any solution ?
>
>
> Vips
>
>
>