resize images and resize map