Auto set image height, by picking out one with largest height