Yep. I discovered it kind of by accident. Unfortunately, you can't use it for cases when you want to use the attachment header -- unless you cflocate to a directory where the webserver attaches that header to all requests.
/H. -- Hugo Ahlenius ------------------------------------------------------------- Hugo Ahlenius E-Mail: [EMAIL PROTECTED] Project Officer Phone: +46 8 230460 UNEP GRID-Arendal Fax: +46 8 230441 Stockholm Office Mobile: +46 733 467111 WWW: http://www.grida.no ------------------------------------------------------------- | -----Original Message----- | From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] | Sent: Tuesday, May 17, 2005 22:12 | To: CF-Talk | Subject: Re: cfcontent vs cflocation | | Yep... I'd have never thought to try that. Interesting suggestion. | | That said, it will only work with images within the purview of a | webserver... and I've been messing around with this a bit. Maybe this | has worked this way forever, but this saves a LOT of typing: | | <cfcontent type="image/png" file="d:\images\#imagename#" /> | | I've used this sort of method in several places and always but a | cffile followed by a cfcontent and a cfoutput. This seems to destroy | the need for any of the above. | | Most cool. | | Laterz, | J | | On 5/17/05, Burns, John D <[EMAIL PROTECTED]> wrote: | > | > Yeah, I think that's what he's getting at. I don't think | he's thinking | > as much about hiding the source of the image as much as | he's talking | > about processing some info before displaying the image. | > | > | > John Burns | > Certified Advanced ColdFusion MX Developer Wyle | Laboratories, Inc. | | > Web Developer | > | | | | -- | --------------- | ------------------------------------- | Buy SQLSurveyor! | http://www.web-relevant.com/sqlsurveyor | Never make your developers open Enterprise Manager again. | | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206992 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54