Not sure this is the right forum for this but here goes. I have a mobile app that gets an image via the camera. It puts the contents of the image into the variable 'imageData' I then use jquery:
into the image:
that works fine as far as display goes. It does not however add it to "Robot"
I am using jaydata to save the data to a local database and the model has a lot of fields (all text inputs) and they all data-bind fine.
Any ideas?
$('#smallImage').attr('src', "data:image/jpeg;base64," + imageData);
<
img
id
=
"smallImage"
width
=
"100%"
data-bind
=
"attr: { src: Robot.Picture }"
>
I am using jaydata to save the data to a local database and the model has a lot of fields (all text inputs) and they all data-bind fine.
Any ideas?