laravel get all images from folder code example

laravel get all images from folder

1

1 Example

0
<!DOCTYPE html>
<html>
<head>
   <style>
      body {
         font-family: 'Nunito', sans-serif;
      }
   </style>
</head>
<body class="antialiased">
   <div>
      <ul>
         @foreach ($images as $image)
            <li style="width:300px;display:inline-block;margin:5px 0px">
            <img src="{{asset('images/'. $image->getFilename())}}"width="300" height="250">
            </li>
         @endforeach
      </ul>
   </div>
</body>
</html>
by on

Other Code Examples