Local. Running CF7 On 9/23/06, Michael E. Carluen <[EMAIL PROTECTED]> wrote: > Is it in your host box, or in your local dev. I had a similar problem when > I used Ray's BlogCFC with Lyla on. Turns out the ultra cheap hosting I had > with Viux Hosting had cfcontent disabled. The actual .jpg file is created > but the image doesn't display. > > Check your host service to see if they have any disabled tags. > > > > > -----Original Message----- > > From: Jason Radosevich [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 22, 2006 8:45 PM > > To: CF-Talk > > Subject: Trouble with Lyla Captcha > > > > Hi, > > Having a bit of problems having the image display with Lyla Captcha. > > > > It creates a jpg file, but it is completely blank. > > > > > > -----application.cfm----- > > <cfapplication Name="Test" SessionManagement ="yes" > > SessionTimeOut="#CreateTimeSpan(0,0,30,0)#" > > ApplicationTimeOut="#CreateTimeSpan(0,24,0,0)#" ClientManagement="yes" > > > > > <cfsetting enablecfoutputonly="yes"> > > <cfset application.captcha = > > CreateObject("component","captchaService").init(configFile="captcha.xml") > > /> > > <cfset application.captcha.setup() /> > > > > <cfsetting enablecfoutputonly="no"> > > ---------------------------------- > > > > > > > > ------index.cfm------------ > > <cfset variables.captcha = application.captcha.createHashReference() /> > > <cfoutput> > > <input type="hidden" name="captchaHash" value="#variables.captcha.hash#" > > /> > > <tr> > > <td colspan="2" align="right"> > > Captcha text: <input type="text" name="captchaText" size="6" /> > > </td> > > </tr> > > <td colspan="2" align="right"> > > <img src="showCaptcha.cfm?hashReference=#variables.captcha.hash#" /> > > </td> > > </tr> > > </cfoutput> > > ---------------------------------- > > > > > > -------showCaptcha.cfm------------ > > <cfset variables.captcha = > > application.captcha.createCaptchaFromHashReference("file",url.hashReferenc > > e) > > /> > > <cfcontent type="image/jpg" file="#variables.captcha.fileLocation#" > > deletefile="true" reset="false" /> > > ---------------------------------------------- > > > > > > > > Any suggestions ?? > > > > Thx. > > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253960 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

