First version of image upload.