title: How can I put an image in my email markdown header?
body: <p>I am trying to replace the app name in a Laravel markdown email header with an image but I am not having a lot of success. </p>
  
  <p>message.blade.php</p>
  
  <pre><code>@component('mail::layout')
  {{-- Header --}}
  @slot('header')
      @component('mail::header', ['url' =&gt; config('app.url')])
          @if(config('app.site.logo'))
              &lt;img src="{{ url(config('app.site.logo')) }}" class="site- 
  logo" height="50" /&gt;
          @else
              {{ config('app.site.name', 'Campaign') }}
          @endif
      @endcomponent
  @endslot
  
  {{-- Body --}}
  {{ $slot }}
  
  {{-- Subcopy --}}
  @isset($subcopy)
      @slot('subcopy')
          @component('mail::subcopy')
              {{ $subcopy }}
          @endcomponent
      @endslot
  @endisset
  
  {{-- Footer --}}
  @slot('footer')
      @component('mail::footer')
          &amp;copy; {{ date('Y') }} {{ config('app.site.name', 'Campaign') }}. 
  @lang('All rights reserved.')
      @endcomponent
  @endslot
  @endcomponent
  </code></pre>
  
  <p>followup.blade.php &lt;-- email markdown page</p>
  
  <pre><code>@component('mail::message')
   ## Follow up reminder
  
  Set for today {{ date('l \t\h\e jS \of F Y', strtotime($member-&gt;FollowUp)) }} with  {{$member-&gt;LastName}} {{$member-&gt;FirstName}} / {{$member-&gt;Position}}
  
  @component('mail::panel', ['url' =&gt; ''])
  @if(count($member-&gt;notes))
  
  *notes...*
  @foreach($member-&gt;notes-&gt;sortByDesc("created_at") as $note)
  
  **{!! nl2br(e($note-&gt;note)) !!}** 
  
  by *{{$note-&gt;user-&gt;name}}.*
  
  @endforeach
  
  @else
   No notes added for member
  @endif
  @endcomponent
  Probable Vote: {{$member-&gt;LikelyVote}}
  @component('mail::button', ['url' =&gt; $the_url])
  View Information
  @endcomponent
  
  
   Thank you,
  {{ config('app.site.name', 'Campaign application A.I.') }}
  @endcomponent
  </code></pre>
  
  <p>Everything works on mailtrap and the header image shows up. The image does not show up in gmail.</p>