REsizing the images to 1024 x X