Timthumb, improved file cache so images can be retrieved from an url without checking through timthumb script if the file exists, works great with nginx, and it's optimal to implement with amazon cloudfront.
Original timthumb repository: https://code.google.com/p/timthumb/
Project WebPage: http://www.binarymoon.co.uk/projects/timthumb/