Prepare to upload images