473,405 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

IIS image location

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
Nov 17 '05 #1
2 1419
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 Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<me@somewhere.com> wrote in message
news:ea********************************@4ax.com...
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

Nov 17 '05 #2
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
--------------------------------------------------------------------------------------------------
On Tue, 19 Jul 2005 10:23:46 -0400, "Nicholas Paldino [.NET/C# MVP]"
<mv*@spam.guard.caspershouse.com> wrote:
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.


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: coolsti | last post by:
I need some help here. I am making an application which allows a user to look at a series of picture files one at a time, and enter the outcome of various visual tests to a database. The...
7
by: Scott Schluer | last post by:
Is there a way to use the Image class to convert a color photo (GIF or JPEG) to a B&W photo? Thanks, Scott
35
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
0
by: Deepak C.G via .NET 247 | last post by:
I want to dispose the image object in my child form, unless I won't dispose this object i can't delete the image file in my folder. I get this error in MDIparent form "An unhandled exception...
10
by: Mirek Endys | last post by:
Is there a posibility to make web control, that is drawing an image to webpage without needing to save it into a file? (for example, i will save picture into db server and I want to show it...
0
by: zxo102 | last post by:
Hi everyone, As shown in the code below (modified based on the Image.py in wxpython demo), an image is created at location 1: (50,10) with rotated angle 1.12. Now, suppose I got another set of...
7
by: mishrarajesh44 | last post by:
hii all Truly telling i hav got this code from net & i am finding error while running the code below.. code:- <?php $idir = "photo/"; // Path To Images Directory $tdir =...
10
by: mishrarajesh44 | last post by:
hii all, I am facing a problem currently.. i have a script for image uploading and resizing.. the image uploading takes place properly for every size images.. but, the resizing works for...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.