change default resize operation to preserve aspect

The client can resize to fill an area if it wants, but the server should preserve original image aspect.