added a relative unit to the max-height of images