title: How do I recall multiple images saved in storage in my web page?
body: <p>I've saved in MYSQL database and in my laravel storage two images created by a form of my webpage. I just wanna recall all images saved in the storage and show all them in my webpage. I've used this in my createcar.blade.php page: </p>
  
  <p><code>&lt;img src="{{Storage::url(img)}}" alt="img"&gt;</code></p>
  
  <p>but it doesn't work</p>
  
  <p>This is the createcar.blade.php part form page:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="container"&gt;
      &lt;div class="row py-3" style="justify-content:center"&gt;
          &lt;div class="col-md-4"&gt;
              &lt;div class="form_main"&gt;
                  @if ($errors-&gt;any())
                      &lt;div class="alert alert-danger"&gt;
                          &lt;ul&gt;
                              @foreach ($errors-&gt;all() as $error)
                                  &lt;li&gt;{{ $error }}&lt;/li&gt;
                              @endforeach
                          &lt;/ul&gt;
                      &lt;/div&gt;
                  @endif
                  &lt;h4 class="heading"&gt;&lt;strong&gt;Compile &lt;/strong&gt; form! &lt;span&gt; 
               &lt;/span&gt;&lt;/h4&gt;
                  &lt;div class="form"&gt;
                      &lt;form action="{{route('submit')}}" method="post" id="contactFrm" name="contactFrm" enctype="multipart/form-data"&gt;
                          @csrf
                          &lt;input type="text" required="" placeholder="Name Car" value="{{old('name')}}" name="name" class="txt"&gt;
                          &lt;input type="file" name="img" placeholder="Image"
                                 value="{{old('img')}}"&gt;
                          &lt;textarea placeholder="Features Vehicle"
                                    name="message" value="{{old('message')}}" type="text" class="txt_3"&gt; &lt;/textarea&gt;
                          &lt;input type="submit" value="Add" name="submit" class="txt2"&gt;
                      &lt;/form&gt;
                      &lt;img src="{{Storage::url(img)}}" alt="img"&gt; //this is the code i've used to recall images from storage
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the file CarsController.php</p>
  
  <pre><code>  &lt;?php
  
   namespace App\Http\Controllers;
  
   use Illuminate\Http\Request;
   use Illuminate\Support\Facades\DB;
   use App\Http\Requests\CarsRequest;
  
  
   class CarsController extends Controller
   {
   public function submit(CarsRequest $req){
  
      $nome = $req-&gt;input('name');
      $messaggio = $req-&gt;input('message');
      $img = $req-&gt;file('img')-&gt;store('public/img');
  
      $dati = compact('nome', 'messaggio', 'img');
  
          DB::table('cars')-&gt;insert(
  
          [
          'name' =&gt; $nome,
          'message' =&gt; $messaggio,
          'img' =&gt; $img,
          ]);
  
      return redirect(route('carthankyou'));
  
    }
  
    public function carthankyou() {
      return view('contacts.carthankyou'); 
  
   }
  </code></pre>