Re: Getting to the img src on another server.
- From: Benjamin Niemann <pink@xxxxxxxxxx>
- Date: Mon, 27 Jun 2005 16:40:39 +0200
john_williams_800@xxxxxxxxxxx wrote:
> Hi;
>
> I am writing an html page that will live on one server in an ms windows
> network, but access pictures from a directory on another ms windows
> server in the network.
>
> I know in html the values for img src use unix style path separators
> with root ( "/" being your parent web directory.
>
> However in windows land the path to my images would be something like
>
> \\theOtherServerMapping\wwwRoot\inetpub\images
>
> How would I write the path to such an image directory in my html tags?
>
> Would I need to urls instead of file paths?
>
> This is an honest question, please don't slam me. I need the help
>
> Thanks in advance for any information
If the server with the images has a webserver installed *and* is accessible
to all users that can access your primary server, than use absolute URLs to
reference the images.
http://hostnameofimageserver.company/images/foobar.jpeg
If the 'image server' is not directly accessible from the machines where the
browser is running (e.g. behind a firewall) or has not webserver, but your
primary server can access is, you can create a 'virtual
directory' (assuming you are using IIS). Configure it to map the network
path \\theOtherServerMapping\wwwRoot\inetpub\images to the local
directory /images (IIS has a wizard for this IIRC). In this case
use /images/foobar.jpeg as src attribute of your images.
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
.
- References:
- Getting to the img src on another server.
- From: john_williams_800
- Getting to the img src on another server.
- Prev by Date: Re: iframe problem
- Next by Date: Re: Translating foreign characters to HTML code
- Previous by thread: Re: Getting to the img src on another server.
- Next by thread: Re: Getting to the img src on another server.
- Index(es):
Relevant Pages
|