vendredi 14 janvier 2022

How can I show BLOB image file to html page in laravel?

I am fetching the blob type value of a png image from database and show it in my html page but its now working, I am using laravel framework. Please do help.

<img src="data:image/jpeg;base64,'.base64_encode( Auth::user()->photo ).'"
                                class="rounded-circle z-depth-0"
                                alt="avatar image"
                                style="padding-left: 10px"
                                height="35"
                            />


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire