Creates thumbnails on the fly in a CakePHP application.