Re: Getting to the img src on another server.



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/
.



Relevant Pages

  • RE: Printing from Win9x clients stops
    ... Open Server Management. ... then right-click the name of the computer running Windows Small Business ... >From the client computer: ... The Select Network Component Type ...
    (microsoft.public.windows.server.sbs)
  • RE: Printing from Win9x clients stops
    ... The printers with 9x drivers on the server appeared automatically in the ... > then right-click the name of the computer running Windows Small Business ... > From the client computer: ... The Select Network Component Type ...
    (microsoft.public.windows.server.sbs)
  • Re: random lockouts
    ... >> I've got a network with several Windows 2000 Servers and ... >> about 150 Windows 98 clients. ... >This problem occurs because the Windows 2000-based server ... >because the session that is reused is against a DFS ...
    (microsoft.public.win2000.security)
  • Questions Relating to Administering Windows 2000 Server
    ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
    (microsoft.public.cert.exam.mcse)
  • Questions Relating to Administering Windows 2000 Server
    ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
    (microsoft.public.cert.exam.mcse)