Tim,

Use aboslute instead of relative paths.

ie..

/dept/content/graphics/imagename.jpg

This will fix the problem because the first backslash in front of dept tells it to 
drop to the root.



On Fri, 01 March 2002, "Tim VanderPloeg" wrote:

> 
> I must be missing something very simple but I am new to CF. I have to
> follow a directory structure hear where I work that goes like this:
> Root
>     Dept
>         Apps
>     Content
>         Graphics
>     Apps
> 
> What I am trying to do is to have a header.cfm and footer.cfm that will
> be located in the Apps directory and the images in the Graphics
> directory. All of my pages will use the header.cfm and footer.cfm no
> matter what level the module is at. With the <cfinclude
> template="/header.cfm"> the images do not carry over to the different
> levels unless they are in the same level as the header.cfm is. In the
> img src="../content/graphics/image.jpg" call I have tried it with just
> the / at the beginning and still no luck. What do I need to do so all of
> the images that are stored in the graphics folder and used in the
> header.cfm no matter what level I include the header.cfm will be seen. I
> only want one header.cfm, menu.cfm and footer.cfm on the site.
> 
> Tim VanderPloeg
> South Florida TSG
> Web Developer
> 561-840-7018 
> 
______________________________________________________________________
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to