-3
Problem solved, I only include "data:image/jpeg;Base64," at the beginning of the date content and the problem has been solved
-3
-1
Problem solved, I only include "data:image/jpeg;Base64," at the beginning of the date content and the problem has been solved
Browser other questions tagged javascript node.js react image conversion
You are not signed in. Login or sign up in order to post.
Check the headers, I see it’s application/json, but it should be something like this:
Accept: image/png,image/svg+xml,image
depends on the file extension you are using.– Danizavtz
And how are you reading in your code ? Post the code you’re making.
– Rebeca Nonato
I’m getting this value inside a variable and wanted to pass it inside a <img> tag in React, but if that’s why in src it only loads an image without content
– Lucas Marinho Racca
This date field there looks like a Base64 image. You tried to include the image this way?
– user201467
yes, I tried that and dps all possible things, just know that the image really is there because the Postman is displaying it normally
– Lucas Marinho Racca