A
A
AltaiR2020-03-11 16:10:14
PhantomJS
AltaiR, 2020-03-11 16:10:14

How to get a file from a string?

The API returns an image in this form:
5e68e289d9178092144328.png
How to get an image from it so that it can be inserted into ? <img src="" />

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2020-03-11
@AltaiR-05

Try adding before the line See Data URLdata:image/jpeg;base64,
<img src="data:image/jpeg;base64,/9j/4AAQ..." />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question