Flask image server to upload and serve images (with on the fly thumbnail generation).