Hello,
We're running ColdFusion9 on Linux. We have one page in our CMS that uses
CFImage tag to get the dimensions of an uploaded GIF graphic so that it can
return an error message to the user if the dimensions are not correct.
The tag looks like this:
<cfimage
action="info"
source="#webDir#/#SourceFile#"
structname="objImageInfo"
/>
If I upload a JPG it works fine, if I upload a GIF I get the following error:
Unexpected block type 0!
In the debugging I see that the error is occurring in the java ImageReader.
coldfusion.image.ImageReader$ImageReadingException: An exception occurred while
trying to read the image.
at coldfusion.image.ImageReader.readImage(ImageReader.java:108)
Does anyone have an idea about why this is happening. If I can't find a
solution I'll need to go back to several designers and try to get them to
remember to save their graphics as JPG or PNG rather than GIF so I'd prefer not
to have to do that.
Thanks,
Jerry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346590
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm