Iamge Issue

I am uploading an image to my data file, when I am connecting the uploadButton to the dataset it does uploaded the image and when I diplay that image in a table it shows the image properly.
but when I am using the uploadButtom from code, I do upload the image but when I am updating the dataset it attach “wix:image//” infront of the src address and the data base shows that field as “text” and the table does not display the image anymore.
how can I resolve that issue?

here it is the code I am using
$w( () => {
$w(“#uploadButton2”).onChange( () => {
if ($w(“#uploadButton2”).value.length > 0) { // user chose a file
$w(“#button1”).disable();
$w(“#text17”).text =(Loading '${$w("#uploadButton2").value[0].name}');
$w(“#uploadButton2”).startUpload()
.then( (uploadedFile) => {
$w(“#text17”).text = “File OK.”;
$w(“#button1”).enable();
archi = uploadedFile.url;
$w(“#image2”).src = archi;
} )
.catch( (uploadError) => {
$w(“#text17”).text = File upload error: ${uploadError.errorCode} + " " +uploadError.errorDescription;
} );
}
else { // user clicked button but didn’t chose a file
$w(“#text17”).text = $w(“#text17”).text + " Select file.";
}
});
});

The issue I have is when I am ussing this route uploadedFile.url estarts with “wix:image//” and when i use it without code uploadedFile.url starts with "image://

what should I do different?