IIS image location

  • Thread starter Thread starter me
  • Start date Start date
M

me

Hello,

Is it possible to retrieve images which are not located at the
default IIS location of 'Inetpub/wwwroot/images'? Another folder or
other logical drive for example (redirect command?).
If so, how does the command looks like?

Thanks in advance,
Saya
 
Saya,

If you mean from the client side, then the only way to access images in
another location was if those images were exposed through a virtual root
(basically, they are part of your website).

If you mean on the server side, then you can load images from anywhere
that the current user that the page is running under has access to (assuming
you are impersonating).

Hope this helps.
 
Nicholas, thanks for the reply.
Things did get mixed up with my machine and the outgoing smtp mail
.... I did not saw this thread, so I post another new one.
This last one is now being answered by Ignacio Machin.

FYI, my problem is: on a server machine, external apps are dropping
their images at several locations, not necessarily on the
'Inetpub/wwwroot/images' path which is (learned from Ignacio)
configured during an IIS admin setup.
On my client device, I retrieve those images with the following
code:
'picWeb.Image=GetImage(IMG_URL+filename)', where
IMG_URL="http://ipadress/images".
This woks because IIS 'knows' that '/images' must reside immediately
beneath 'Inetpub/wwwroot'.
But ... what if my other images are located at, for example a logical
drive D:\somepath\somewhere\images ?
How do I code this in the GetImage command?

Regards, Saya
 
Back
Top