On-demand resizing of images for Flask applications.