make your image tags look like this

<img src="/images/pic.gif">

instead of this

<img src="../../../images/pic.gif">

and use the <base> tag in your application or app_server .cfm file to set a
default web root for your site....


Ben



----- Original Message -----
From: "Edward J. Bebee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 1:58 PM
Subject: [CFTALKTor] Fusebox, site layout, and graphics


> Ok, I am slowly getting my head around this fusebox thing but there's
> something I'm missing. Like, how to allow for things like graphics in an
> inserted file.
>
> I've got a site structure that looks like this:
>
> [root level]
> index.cfm
> --> [Products]
> --> index.cfm
> -->-->[Product_A]
> -->-->index.cfm
> -->-->product_A_specs.cfm
> -->-->product_A_blurb.cfm
> -->-->-->[images]
> -->-->[Product_B]
> -->-->index.cfm
> -->-->product_B_specs.cfm
> -->-->product_B_blurb.cfm
> -->-->-->[images]
>
> Having index.cfm (at the root level) insert product_B_specs.cfm via
> index.cfm (at the Product_B level) is effortless. The CFSWITCHs do their
> thing and everything's great except... no graphics show up for
> product_B_specs.cfm .
>
> All the graphics are in the [images] folder for Product_B. At the point of
> the complete, ready-to-serve page, the links to the graphics are broken.
>
> Now, I could "flatten" the site layout so the Product_A & Product_B
folders
> aren't nested and all the graphics are in a common spot, and that works.
>
> However, that would erode the modular nature of the layout and complicate
> the working relationship between the people involved. There's different
> people working on the different products and it would be nice if they just
> dropped a folder on the server and, with minimal fuss, their work is
> integrated with the larger site.
>
> How do other people resolve this?
>
> --e
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Edward J. Bebee" <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>


-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "ben.salming" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to