Re: [Slightly OT] Standardizing image uploads/making thumbnails

[prev] [thread] [next] [Date index for 2005/03/06]

From: Todd Finney
Subject: Re: [Slightly OT] Standardizing image uploads/making thumbnails
Date: 00:45 on 06 Mar 2005
At 06:02 PM 3/5/2005 -0500, jonathan vanasco wrote:
>What have people here found good to use (a2/mp2)?
 > ...
>         ImageMagick looks better, more stress on the server

How I've always handled server-side image manipulation is to skip doing it 
in the server process.  I take the upload and drop it somewhere on the 
filesystem, then have a cron job sweep through at a later time and process 
the image using ImageMagick.

I wrote the little script that I use a few years back.  It uses a 
configuration file in the upload directory to handle the site-specific (we 
host many sites) parameters for the image processing.   There's also a 
master configuration file that tells the script where the image upload 
directories are.

During the time between the upload and the processing, the user gets a 
generic "thumbnail not available" image, clicking upon which retrieves the 
full, unprocessed image.  No one's ever complained.

My understanding is that uploading and processing images inside mod_perl 
isn't really the best use of your clock cycles.  YMMV, of course.


Re: [Slightly OT] Standardizing image uploads/making thumbnails
Todd Finney 00:45 on 06 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52