fix the max height of the images