In my database, I have images in blob columns which I am retrieving these images and showing to the user via HTML. 

Now, the problem is:

In PHP when I do 

```
header("content-type: image/jpeg");
echo $image;

```

I shows me image in browser, However, through TWIG or HTML, I am not able to show the image. passing the same `$image` 
like 

```
return this->render("...twig",array($name -> $image));

```

But it does not work... `$name` is attribute in `img` tag in TWIG. Browser simply shows junk data for this field.