making images in sliders no bigger than 1200px