What it looks like you need is a webserver mapping (aka virtual 
directory)

your webserver not cf should make to the path so for example
if i setup a mapping (virtual directory in the iis world) in my 
webserver as
follows:
        /imageroot/ maps to c:\imagesdir\
then when i call
        http://www.myserver.com/imageroot/ the webserver will point to the
c:\imagesdir\

the cfadmin mappings are only useful for the coldfusion engine to help 
find
templates to cfinclude or cfmodule

you can contact me if you have additional questions,

-Fred

-----Original Message-----
From: Ray Bujarski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 5:52 PM
To: CF-Talk
Subject: image mapping question


How do I insert an image using the actual path similar to
<img src="c:\imagesdir\image.jpg">
with unix file system? When I use
<img src="/prj/photos/GIF/72.90.8.color/image.jpg">
it translates it like it were a relative path (properties show 
http://www.mydomain.com/prj/photos/GIF/72.90.8.color/image.jpg)
I tried to map the folder in administrator by putting
Logical Path : /images/
Directory Path : /prj/photos/GIF/72.90.8.color/
then changed the image tag to read
<img src="/images/image.jpg">
and still nothing.....Does anyone know how to get around this 
situation?
***
Also to be noted in our administrator we have mapped
Logical Path : /
Directory Path : /prj/webdev
I don't know if this makes a difference.
***

Ray Bujarski
858-845-7669
858-636-9900 pgr
[EMAIL PROTECTED]

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to