I have been fighting an issue with ImageGetBlob(). I am trying to run some very simple code:
<cfimage action="read" name="img" source="#expandPath("zoid.jpg")#" />
<cfset moo = ImageGetBlob(img) >
When I run this on my dev macine, which is running Mac OS X with ColdFusion 8 installed as 'multi-server', I get a JRun 500 error, the first few lines of which are:
ROOT CAUSE:
java.lang.NoClassDefFoundError
at coldfusion.image.Image.getImageBytes(Image.java:519)
at coldfusion.runtime.CFPage.ImageGetBLOB(CFPage.java:5642)
There have been 2 other people who are running ColdFusion under similar operating system/server install configurations that get the same error. I have also asked someone running ColdFusion 8 as a 'stand alone' on a Mac and the code works as expected. The code also works as expected on Windows XP running ColdFusion 8 as a 'multi-server install.
Has anyone else seen this problem? If you are running ColdFusion on a Mac, either as a 'stand alone' or 'multi-server', would you mind giving the code above a try (obviously changing the image path) and reply back to say if you were successful or not and what your set up is?
Thanx in advance!