I'm trying to display an image, but that image type is blob.
Question:
How can I display blob data type image?
I tried with:
function getBlob() {
$data = $this->user_model->getBlob();
echo "<img src="base64_encode( $data['IMAGE'] )">";
}
But doesn't work.
You forgot the
data:URIscheme (data:image/jpeg;base64,) :Do it as follow: