made 1 side optional when resizing image