capped maximum width of scaling of images