Using background-image instead of an img element. This should solve max-height problem.