Version 2.1b released!Better performance, better installation, better samples, more features!
- I finally tracked down a simple, yet elusive performance bug that was particularly problematic for users with many thousands of images. Performance should be much better for everyone now, so upgrading is highly suggested. This bug was introduced with version 2.0., and caused a filesystem listing hit for each request.
- All requests are now forced to pass through the UrlAuthorizationModule now. Previously, any URL rewriting (like customfolders.cs) caused URL auth rules to be circumvented. This was documented behavior, but a secure solution has now been found.
- New users will find it much easier to get things working - Messing with IIS is now completely optional! :D :D Instead of writing "image.jpg?width=500" as you normally would, type "image.jpg.axd?width=500". If you use the new syntax, you won't be forced to configure wildcard mapping on IIS6/IIS7 classic. Both syntaxes will be supported in the future. The suggested extension is .axd, but that can be changed or disabled using the ResizeExtension application setting.
- Dithering support added! You can dither an 8-bit image using the ?dither= command. You can specify a dither percent, "true", or "4pass".
- UploadSample project (in VB). Resizing images as they are uploaded is now trivally easy. ImageManager.BuildImage now accepts an HttpPostedFile instance for resizing.
- DisableCustomQuantization setting to allow GIFs to be generated on servers where the Marshal class is prohibited.
- PerfTests project to run benchmarks on the image resizing and encoding code.
If you are upgrading from 1.2, follow the 1.2->2.0 upgrade instructions first.<add key="ResizeExtension" value=".axd"/><add key="AllowURLRewriting" value="true"/>