ColdFusion 8.0.1 Bug Coldfusion.Image.ImageWriter $ ImageWritingException

Posted July 17, 2008 at 9:34 AM

Tags: ColdFusion

I just came across a known bug in ColdFusion 8.0.1. Apparently, sometimes the ColdFusion image functions don't play nicely with JPG image files and throw the following error:

An exception occurred while trying to write the image. Ensure that the destination directory exists and that Coldfusion has permission to write to the given path or file. cause : coldfusion.image.ImageWriter$ImageWritingException: An exception occurred while trying to write the image.

Some quick googling found that there was a Hot Fix available for ColdFusion 8.0.1 image functions. I figured I would post it here in case anyone was running into the same problem.

ColdFusion 8.0.1 CFImage / Image Functions Hot Fix

ColdFusion 8.0 And Later Hot Fixes

I installed the above ColdFusion 8.0.1 Image hot fix, restarted my ColdFusion service, and the image that was breaking my application started working again.

Comments (3)  |  Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page



Keep your Web site content fresh and your overhead costs low with Savvy Content Manager

Reader Comments

Hey Ben, I've been working with the jpg issues for a while. I've noticed that some jpg's don't play nice even after the hotfixes are applied.

It may be a hack, but I got fed up and had to do something....I'm converting the jpg's to gif's (usng CFIMAGE action="convert") after they're uploaded and then doing the CFIMAGE manipulation (resizing etc) on them. Its an extra step, but it's working like a charm for my site.

I hope this helps!

Posted by Dan Parker on Jul 17, 2008 at 1:36 PM


@Dan,

Interesting hack. Unfortunately, converting a large JPG to a GIF will increase the file size greatly (in theory)? But, good to have at least on solution till they iron out the kinks.

Posted by Ben Nadel on Jul 17, 2008 at 1:47 PM


Thanks for the Tip, this problem was driving me crazy, 1 jpg works fine, then next one does not!

Your site rocks!

Posted by Ben on Sep 18, 2008 at 5:10 PM


Post Comment  |  Ask Ben


Home   |   Web Log   |   ColdFusion   |   Projects   |   Resume   |   Job Form   |   Search   |   Contact
Epicenter Consulting - Custom Software Solutions for Business Evolution HostMySite.com - The Leader In ColdFusion Hosting