change main image dimensions