Change "beside" to cut off the larger of the two images.