I think what he's asking is if you can do your processing in the cfm that you want but instead of serving up the images using <cfcontent>, do a <cflocation> to an image. That wouldn't "hide" the url of the image and I'm not 100% sure how it would all work, but it seems like it may do the trick. Not sure of performance gains/losses, but it's a neat idea if it would work.
John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -----Original Message----- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Monday, May 16, 2005 3:43 PM To: CF-Talk Subject: Re: cfcontent vs cflocation <puzzled> Hugo... ummm... CFLOCATION to where? CFLOCATION does a client-side redirect via headers (similar to a meta redirect). CFCONTENT sets the mime type of the content stream that gets returned to the browser (hence making a CFM template look like a JPG or a PDF). Perhaps I'm missing something obvious, but I don't see how their functionality could be analagous. Maybe a bit more explanation? Laterz, J </puzzled> On 5/16/05, Hugo Ahlenius <[EMAIL PROTECTED]> wrote: > > Related to the IE hack thread: > > When you do the little trick and refer to a cfm template in an <img> > tag (for instance) to enable some logic processing (or rendering of a > dynamic image) -- wouldn't it make much more sense to do a cflocation > after the dynamic rendering? (as long as you don't need to play with > any custom headers) > > I just realized that this would work for some dynamic image generation > (arcims) where the images would be stored on a web-accessible drive > anyways -- and that this would enable some very good caching of > dynamic images as well... > > /H. > -- --------------- ------------------------------------- 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:206793 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

