configuring image height and width to match icons