Working version uploading images.