@php $row = App\Models\Section::where('id', '1')->first(); $files = $row->getFiles('photo')->toArray(); if (isset($files[0])) { $photo1 = $helper->cropImg(public_path($files[0]['file']),300 , 512 ); $photo2 = $helper->cropImg(public_path($files[1]['file']),140 , 243 ); } else { $photo1 = $photo2 = ''; } @endphp
img
img
Our About
{!! $helper->parse_tinymce($row['content_'.$locale]) !!}