set the max-height on any image elmenets as well