I've thrown my data to my blade. I'm using inline css. In this case, I need background: url(..)
instead of <img>
. On browser when i inspect and open the img in new file it opens but css is unable to parse and display it. Should i give it some more location?
Currently, I'm trying this out.
<div class="row profile-cover" style="margin: 0;
background: url('{{$userDetails->profile_img}}')">
where
$userDetails->profile_img= gallery/client4/avatar_1530513317_1532258485.jpg;