GOAL: I'm trying to display an Image into my Laravel 7 view, retrived directly from database.
PROCESS:
- As you can see in my controller JobsController, I will select and retrieve the image from database, identified by jobs $job_name.
As you can see here, I tried to dd($job_name) and we can see that BLOB data in $job_image variable. I will pass this Collection object to view and display it directly. 
Most SO questions relate to displaying the image using <img src="myFileName"/>.
Problem is I'm not storing it as a file but instead just retrieve and display it directly. I just want to dump all the variables into my view file like other job details. 
Solutions tried in my view file.
- <img>{{ base64_encode($job_details->job_image) }}</img>. Failed. Output is "/9j/4AAQSkZJRgABAQ".
- <img>{{ base64_decode($job_details->job_image) }}</img>. I don't have much understanding about what encoding and decoding happens when data is stored and retrieved from and to the database. Here I decoded the variable. No output.
- <img src="{{ $job_details->job_image}}"/>. This is dumb, src attribute expects an PATH.
So there, none of these would turn the variable content into an image. Please tell me what I am missing here.



 
     
    