Thanks for all your suggestions everyone.   I think CF_ImageMagick is 
the way I'm going to go, as it seems to do everything I want, I already 
have ImageMagick installed on my server, and I don't have to write any 
fancy code other than that handles the automatic creation and caching of 
thumbnails... basically a custom tag I'm calling CF_THUMBNAIL.

Assuming a file named '97.jpg' is 500x733,

<CF_THUMBNAIL FILENAME="/home/rickroot/www/photo_gallery/97.jpg" 
WIDTH="100">

will generate

<IMG SRC="/photo_gallery/thumbnail_97.jpg" WIDTH="100" HEIGHT="146">

the CF_THUMBNAIL custom tag will automatically check for the existence 
of the thumbnail image, and compare it's date to the original file.. and 
generate a new thumbnail only if necessary.  It generates the thumbnail
image with dimensions specified, and will scale evenly by detecting 
original size using the CF_IMAGESIZE tag I found in the developer's 
exchange.

  - Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to