resize and upload 2 images.