Good morning, afternoon, evening folks,

I have this problem where a user is uploading LARGE images to my  
database for use in my news page.  I cannot tell this person to  
stop.  So, I implemented a solution today that when they do so, it  
sends me a message and scales it in html until I can get to it and  
resize it myself.  I posted here about it, so this may be a bit of a  
repeat.

Unfortunately, the solution makes the page take alot longer to load.   
It's gone from 12 seconds to 75 seconds (ugh!).  Clearly the solution  
wasn't meant to check alot of images on a page and since it's our  
news archives, there are alot of images.

I'd like to crop the images when they're uploaded and avoid all of  
this.  I remember that being a problem (when I used a CFC) though and  
I'm looking for confirmation.  I am on CF7 (and shared hosting) and I  
think the issue is that if when CF is installed and if it's on a  
headless server (aren't they all?), then the java libraries for image  
editing/adjustment aren't installed.

Does anyone know if I have that right or if I'm off-base and I  
actually can use this as a solution?  Is this also a problem in CF8,  
which we'll go to in a few months?  Is there a line of code I can use  
to test this?  I don't have alot of experience with CFCs and my  
previous problems with image editing with the CFC could have to do  
with that.

I just want to scale images properly and save them, on upload.


thanks for listening.


-- 

Daniel Kessler

University of Maryland College Park
School of Public Health
3302E HHP Building
College Park, MD  20742-2611
Phone: 301-405-2545
http://sph.umd.edu





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305404
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to