cut images if too high