From 10a8efcbc04d2068118cf33dd2f614d9586b827d Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 11 Nov 2021 21:53:40 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`; }