First we need to read the image and encode it using base64(ex: $data = chunk_split(base64_encode($pictureData)) ) . Then we can directly use it in the html img src attribute
img src="data:image/gif;base64{{$data}}"
0 Responses to How to embed image content in src atrribute
0 Responses to How to embed image content in src atrribute
Something to say?