Added "max height" for main images