Lydon is a project mainly written in Python, it's free.
On-the-fly image transformation web service (Flask)
Generate thumbnails on the fly.
Installation: pip install -r REQUIREMENTS