Fix images that are too large