CFimage erro
Hello,
I just update from CF7 to CF9 standard version and start using cfimage.
<cfset tempPath = "c:/images/#cffile.serverFile#" />
<cfset uploadedImage = "" />
<cfimage action="read" source="#tempPath#" name="uploadedImage"/>
<cfset headingWidth = uploadedImage.GetWidth() />
<cfset headingHeight = uploadedImage.GetHeight() />
I got this error pointing to cfimage line:
Detail | javax.imageio.IIOException: Can't get input stream from URL! |
Message | An exception occurred while trying to read the image. |
Any ideas?
Thanks!
Johnny