I just posted a new version of SLIR (2.0b4) to the downloads page.
http://code.google.com/p/smart-lencioni-image-resizer/downloads/list
BIG, IMPORTANT CHANGE:
The configuration file is entirely different. Instead of a file that defines a bunch of constants, there is now a class with static variables as defaults (slirconfigdefaults.class.php) that should be overwritten if you want your configuration to be different than the default config. Just copy slirconfig-sample.class.php to slirconfig.class.php and override values in there. If you had customized your config file, you will need to customize it again when upgrading to this version. (Issue 23)
ADDITIONAL CHANGES:
* SLIR now has a garbage collector that will try to help keep your cache clean. Settings can be tweaked in the configuration file. Look for $garbageCollectProbability, $garbageCollectDivisor, and $garbageCollectFileCacheMaxLifetime. If your cache is really huge, this may be slow or have some issues the first time it is run.
* There was a problem with the crop ratio delimiter (:) on some servers (particularly IIS). You can now specify your crop ratio by using either a colon (:) or a period (.) like this: /slir/w100-c1:1/image.jpg or /slir/w100-c1.1/image.jpg. (Issue 24)
* There is a new cropping mode: topcentered. When cropping images off the top and bottom, it will retain the top of the image and discard the bottom. When cropping images off the left and right, the crop will be centered. To use this as your default cropper, set $defaultCropper = SLIR:CROP_CLASS_TOP_CENTERED in your config file. (Issue 27)
* You can now specify what cropper you want to use in each request by adding it to the crop ratio separated by either a colon or a period. For example, if you use the smart cropper by default and you want a particular image to use the centered cropper, you can specify this like /slir/w100-c1:1:centered/image.jpg (Issue 9)
* SLIR now tries to calculate the amount of memory it will need for each request dynamically based on the image's dimensions. (Issue 28)
I hope you like this new version. Please let me know how it works out for you.
If you have any questions, please post them to the discussion group.
Happy holidays,
Joe