Thanks to all for the suggestions. request.imagesroot sound like a winner!
Please forgive me for asking this as I should probably already know...what's
the use for cfroot and webroot?

Thanks again,
Phil

-----Original Message-----
From: Steve Nelson
To: [EMAIL PROTECTED]
Sent: 7/21/00 12:54 PM
Subject: Re: Images with nested fuseboxes

i'd recommend defining another variable for images I set these:

#request.cfroot#
#request.webroot#
#request.imagesroot#

The imagesroot and webroot will probably be the same.  But the cool
thing by creating another variable for your images root is for when
you're ready to scale up to more users, you can separate out your images
onto different machines from your CF pages, this will reduce tremendous
amounts of disk access on your CF servers.  All you have to do is change
that variable to like: "http://images.domain.com" instead of "/" and
you're all set.

If any of you do that... be aware that if you're doing secured pages
(https) you need to have another certificate on your images.domain.com
servers.

Steve

Erik Voldengen wrote:
> 
> I just put them in a top level folder, and refer to them by:
> 
> <img src="#attributes.Fuse_Root#/images/category/foo.gif">
> 
> I'm sure there are more elegant ways to do it, but this works
> pretty good.
> 
> -Erik
> > In an effort to keep applications as portable as possible...
> > Has anyone found a good way to keep images for nested
> > fuseboxes local to
> > their respective applications?
> > Or, is everyone just dumping them into a local (relative to the
> > parent/top-level app) or mapped directory?
> >
> > Thanks for the info.
> > Phil
>
------------------------------------------------------------------------
------
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------
------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to