added max and min-width to images