set max height for images on show  page