Let's consider the easiest thing first: what makes you think that cf_magicktag will not work well with CF9? If it could be made to work, that would solve everything, right? So is it that someone from the tag maker has said it won't work with CF9? Or that they haven't tested it? Or is it just not working for you? It could be a problem of re-installation from 7 to 9 that's could easily cause problems. I can't think of much otherwise that should cause a problem. Sure, the JVM changed from 1.4 to 1.6, but I wouldn't immediately presume that should cause a problem. Then, too, it could be differences in some Java imaging library that CF included in 7 that changed for 9, that the tag is relying on (or conflicting with), but I'm not aware of any.
/charlie > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Frank Moorman > Sent: Tuesday, September 07, 2010 6:15 PM > To: [email protected] > Subject: [ACFUG Discuss] CFIMAGE/CFDOCUMENT problem in CF9 > > All, > > As I sent out late last week, I did an upgrade from CF7 to CF9 over the > weekend. > > Unfortunately even with all the testing we did we came across a problem this > afternoon. > > Essentially, we allow inspectors to upload images that will eventually be used > to create a pdf inspection report. > > The images are from digital cameras and we will resize them down to 1024x768. > (roughly, we do keep the aspect ratio.) > > Here is the problem, with CF7 we called the cf_magicktag to get image size > information, then we calculate the new size, and lastly call cf_magicktag a > second time to do the resize. > > Unfortunately, cf_magicktag does not work well with CF9. I thought that was ok > because I would use the new CFIMAGE tag. Then this afternoon the brown stuff > hit > the fan as I found out that any image modified by CFIMAGE would not show up > in A > CFDOCUMENT. > > Most of our pdfs that we created today with CFDOCUMENT had gray boxes instead > of > images. Everything else on the pdf was fine, but no images. I figured out that > all the images uploaded before the upgrade displayed correctly in reports, but > no image uploaded after the upgrade could be displayed in a pdf. > > I did a search on the adobe forums and google and I only came up with the > following: > > http://www.websavey.com/2010/02/coldfusion-images-not-loading-in-cfdocument- > when-using-cfimage- > > It sounds like the above person came across the same issue, but there was no > resolution. > > I was able to fix the issue by using <CFIMAGE action="info" ...> to make up > for > <cf_magicktag>'s problem and then use <cf_magicktag> to do the actual resize > which fortunately works and the images now show up again in pdfs. > > However, at best, this is an ugly hack. I was wondering if anyone else using > CF9 > (or possible CF8) has encountered this and how it was resolved. > > Also, does anyone know what I can do with my uploaded images? I am going to > try > to see if I change the format (maybe from JPG to TIFF) if that would fix my > issue for everything uploaded today. (for space, after the resizing, the > originals are immediately deleted.) But, any suggestions on this would also be > appreciated. > > Thanks, > Frank > > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
