diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 87723904..0d9448a9 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -479,7 +479,7 @@ let imageId; if (el.files[0].type.startsWith("image")) { imageId = `${url}`; - imageId = blobToBase64(url); + imageId = blobToBase64(el.files[0]); } else { imageId = `wadouri:${url}`; }