Hmm. I guess there’s a char limit to that field. Hence it wasn’t reflecting there. I’d still suggest you to upload instead. There’s always a limit to that field.
Sad . I am uploading an image using base64 data uri as a link. I am integrating webcam app on my custom app and the captured image i get using webcam was a base64 string data uri.
Hi,
I used the same code but its working on my local not on production. Getting this error in rendering.
Uncaught TypeError: Cannot read property ‘getUserMedia’ of undefined
at frappe.ui.Capture.render (capture.js:57)
at frappe.ui.Capture.show (capture.js:113)
at capture_photo (guest_registration__js:40)
at Object.r [as capture_photo] (script_manager.js:22)
at eval (guest_registration__js:12)
at HTMLButtonElement.a (page.js:576)
at HTMLButtonElement.dispatch (jquery.min.js:3)
at HTMLButtonElement.r.handle (jquery.min.js:3)
render @ capture.js:57
show @ capture.js:113
capture_photo @ guest_registration__js:40
r @ script_manager.js:22
eval @ guest_registration__js:12
a @ page.js:576
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3