Hi Mathew, Thanks for your response but unfortunately Ive already tried that and run into a few problems with it :-( Regards Liz
-----Original Message----- From: Matthew Williams [mailto:[EMAIL PROTECTED] Sent: 25 February 2007 13:33 To: [email protected] Subject: [farcry-dev] Re: Thumbnail creation error It looks like you're in linux/unix host environment? Do you have any control over this environment? The possbile cause (and solution) can be found http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18747. If, however, it's not your box, you may have issues persuading the admins to make changes. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog Liz Porter wrote: Hi Im having problems with the thumbnail creation code when adding/editing an image in the media. The image itself uploads fine but if the create thumbnail from default image box is checked I get the following error: This graphics environment can be used only in the software emulation mode. The error occurred in /home/www/htdocs/farcry/farcry_core/packages/farcry/imageUtilities.cfc: line 17 Called from /home/www/htdocs/farcry/farcry_core/packages/farcry/imageUtilities.cfc: line 74 Called from /home/www/htdocs/farcry/wicb/packages/types/_dmImage/edit.cfm: line 160 Called from /home/www/htdocs/farcry/wicb/packages/types/_dmImage/edit.cfm: line 137 Called from /home/www/htdocs/farcry/wicb/packages/types/_dmImage/edit.cfm: line 39 Called from /home/www/htdocs/farcry/wicb/packages/types/_dmImage/edit.cfm: line 1 Called from /home/www/htdocs/farcry/wicb/packages/types/dmImage.cfc: line 15 Called from : line 1 Called from /home/www/htdocs/farcry/farcry_core/admin/conjuror/invocation.cfm: line 115 15 : 16 : <cfset stLocal.bi = createObject("java","java.awt.image.BufferedImage").init(JavaCast("int", stLocal.width/stLocal.scaling), JavaCast("int", stLocal.height/stLocal.scaling), JavaCast("int", 1))> 17 : <cfset stLocal.graphics = stLocal.bi.getGraphics()> 18 : <cfset stLocal.jTransform = createObject("java","java.awt.geom.AffineTransform").init()> 19 : <cfset stLocal.jTransform.Scale(1/stLocal.scaling, 1/stLocal.scaling)> I think this may be due to the issue outlined in this adobe technote http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18747 - namely that the 2 clustered servers I am trying to install the site on are headless. The thumbnail code works fine on the dev server (of course) which isnt headless. I have tried updating the jvm settings as suggested by adding ' -Djava.awt.headless=true' but received the error message 'unknown type' when I submitted the changes. The set up is as follows (on both live and dev) cfmx version 6,1,0,83762 java 1.4.2 java vm version 1.4.2-b28 java vm specification version 1.0 running on linux - fedora core i think. Has anyone experienced this? Or have any words of wisdom. Im needing to get this sorted asap. Regards Liz -- This message has been scanned for viruses and dangerous content by <http://www.mailscanner.info/> MailScanner, and is believed to be clean. _____ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.3/699 - Release Date: 2/23/2007 1:26 PM -- This message has been scanned for viruses and dangerous content by <http://www.mailscanner.info/> MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
