diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 2e3f5a22..71526678 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -479,14 +479,14 @@ if (el.files[0].type.startsWith("image")) { base = await blobToBase64(el.files[0]); imageId = "base64://" + base.split(",")[1]; - //imageId2 = base; + imageId2 = base; } else { let url = URL.createObjectURL(el.files[0]) imageId = `wadouri:${url}`; - //imageId2 = url + imageId2 = imageId2 } console.log(imageId) - const element = $(`
`).get(0) + const element = $(`
`).get(0) $(el).parent().parent().prepend(element); cornerstone.enable(element); cornerstone.loadAndCacheImage(imageId).then(function (image) {