Error 400 when trying to display image from my database

Hi,

I’m trying to display image from my database.
I’ve got a service and mapping an image component with javascrpit.
The code is :
Appery("image_imme").attr("src","data:image/jpeg;base64," + value);

In my app, the image appears few seconds and then disappears.
In Chrome network console, in can see image in preview (GET (data) image/jpeg) but next line i’ve got error 400 bad request (GET text/plain) with bad url.

I can’t fix it.

Do you have any idea ?

1 person has
this problem
+1
This topic is no longer open for comments or replies.