Here, let me clarify it for ya, Fred...

Ya see, prior to this separate image server concept, I simply had a /images
directory in all my apps. Thus, I'd call an image just by specing
"/images/squid.gif" or what-have-you. Didn't need to have a specific image
variable. SoOoOo, to remediate it, I just do the good ol search 'n destroy
technique. But mind ya, before doing such a drastic move, I do a PKZIP of
the whole site.

But oh yeah, in my new apps, I do have an #request.image_dir# tag that I
use. Oh yeah...

Alan McCollough
Web Programmer
Allaire Certified ColdFusion Developer
Alaska Native Medical Center

> -----Original Message-----
> From: Fred T. Sanders [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, October 07, 2000 8:30 AM
> To:   Fusebox
> Subject:      Re: Slightly OT:CFFTP
> 
> Well, Alan, your obviously not as lazy as we thought you were.
> Being lazy, I have a variable in my app_server.cfm called
> "request.imgroot"
> with the value being "#request.webroot#/images".
> and all my img tags look something like:
> 
> <img src="#request.imgroot#/myimg.jpg">
> 
> Now if I ever get to the point where I want to move my images off server
> to
> some other box, instead of that risky global find/replace........ I just
> have to change one variable.
> See lazy is better, start slackin Alan!!
> 
> :)
> 
> Fred
> 
> 
> ----- Original Message -----
> From: "McCollough, Alan" <[EMAIL PROTECTED]>
> To: "Fusebox" <[EMAIL PROTECTED]>
> Sent: Friday, October 06, 2000 2:04 PM
> Subject: RE: Slightly OT:CFFTP
> 
> 
> > Yeah, totally. take my environment for example.
> >
> > In our production environment, let's say my real server is SQUID. In
> SQUID,
> > there is a folder called Images, where I store all my images. You know,
> > stuff like http://squid/images/background.gif Stuff like that.
> >
> > I build up a cheapie image server box, and call it PIG. I just do a good
> ol'
> > Windows (or Linux or what-have-you) copy of \\squid\images over to
> > \\pig\images . It doesn't need to be an FTP or nothing. You just do the
> good
> > ol' drag-n-drop.
> >
> > On SQUID, I then do a global search-n-replace for "http://squid/images"
> with
> > "http://pig/images", and that's all the work you'll ever need to do. Yer
> > done !
> >
> >
> >
> > Alan McCollough
> > Web Programmer
> > Allaire Certified ColdFusion Developer
> > Alaska Native Medical Center
> >
> > > -----Original Message-----
> > > From: Brian P. Doyle [SMTP:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 05, 2000 5:30 PM
> > > To: Fusebox
> > > Subject: RE: Slightly OT:CFFTP
> > >
> > > images get uploaded to webserver via the cfm page, then you need to
> send
> > > them over to your image server
> > >
> > > is there another way?
> > >
> > > -----Original Message-----
> > > From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 05, 2000 5:50 PM
> > > To: Fusebox
> > > Subject: RE: Slightly OT:CFFTP
> > >
> > >
> > > How does CFFTP tie in with relocating the images?
> > >
> > > Alan McCollough
> > > Web Programmer
> > > Allaire Certified ColdFusion Developer
> > > Alaska Native Medical Center
> > >
> > > > -----Original Message-----
> > > > From: Brian P. Doyle [SMTP:[EMAIL PROTECTED]]
> > > > Sent: Thursday, October 05, 2000 11:38 AM
> > > > To: Fusebox
> > > > Subject: Slightly OT:CFFTP
> > > >
> > > > Following Doug Nottage's presentation at the Fusebox conference
> we've
> > > been
> > > > looking at ways to improve our site.  We really liked the idea of
> having
> > > > all
> > > > images on another server so now we're trying to implement it.
> However
> > > > CFFTP
> > > > is being a pain.  We keep getting errors with putfile.  Have any of
> you
> > > > used
> > > > CFFTP?  Any help would be greatly appreciated.
> > > >
> > > > Also if you know of some other method instead of using CFFTP that's
> cool
> > > > too.
> > > >
> > > > Thanks in advance!
> > > >
> > > > -Brian
> > > >
> > > >
> >
> >
> --------------------------------------------------------------------------
> > > > ----
> > > > 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.
> >
> --------------------------------------------------------------------------
> ----
> > 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