The source code for a blog post I wrote about using the ImageResizer library