remove hardwiring of image height