The image I\'m trying to resize works correctly with the code below. However, there is a separate border around the photo (see code for the border in photo 1). That is als