Getting ready to resize images.