使用laravel 5.4在yajra数据表中渲染html

I am facing a problem displaying image in data table. The below code is displaying the whole html(HTML is not getting rendered) in side the column. It used to work with laravel 5.3 and below. How to get it working with laravel 5.4. Thanks.

        $data = Member::query()
        ->get();
        return Datatables::of($data)
        ->addColumn('picture', function ($data) {
            return '<img src=" '.$data->picture.' "/>';
        })
        ->make(true);

Okay I found the solution you just need to add ->rawColumns() before ->make(true)

->rawColumns(['picture', 'confirmed'])

while returning. Cheers!!

you have to define the full src of image in img tag

Like this
<img style="width: 140px;" src="/images/your-folder-name/'.$data->pictur.'">