Server for dynamically resizing images on the fly