Darren, Blairs approach should work just fine. I have taken a similar approach for sending raw XML files, using cfcontent to set the content type to xml/text.
Tip: be sure to allow for debugging/errors. I set the content type to xml, and then tried to display an error message (not in xml format), which could not be interpretted by the browser. Set your content type right before you spit out the image. Blair McKenzie wrote: > Darren > > I'm not sure if images can be accessed that way, but if they can it > might be possible to use a webskin. > 1) Create a webskin that uses cfcontent to serve up the image. > 2a) I seem to recall that it's possible to force a particular display > method to be used with displaymethod=xxx in the url, in which case use > that > 2b) If that's wishful thinking, you might have to customise the image > type so that getDisplay defaults to your new webskin. > > Blair > > On 4/21/06, *darren * <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Is there a way to pull an image in a custom include referencing the > index.cfm?objectid=343JADL343JLK33J34L34 URL instead of just > referencing the image from the images directory itself i.e > www.mysite.com/www/images/image.png > <http://www.mysite.com/www/images/image.png> > > If this is possible I would love to know. I have tried it but I > couldn't get it to work. > > Regards, > > Darren > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev -~----------~----~----~----~------~----~------~--~---
