title: How we can send image and icon by using Firebase cloud messaging(fcm) for push notification in android
body: <p>I want to send an image and icon in my Push notification from my Serverside(php) to my app.
  <a href="https://i.stack.imgur.com/n3rWO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/n3rWO.png" alt="image of cat"></a></p>
  
  <p>I have searched on Google but was unable to get the proper result.
  I get <a href="https://stackoverflow.com/a/39058440/2143446">FCM PHP Code</a>. I use these code for sending notification but when I use "image and icon" parameter image not receive in notification.</p>
  
  <p>In GCM it's easy to send icon and image in Push notification</p>
  
  <pre><code> $fields = array(
      'registration_ids' =&gt; $registrationIDs,
      'data' =&gt; array(
          "title" =&gt; "SamplePush Application",
          "style" =&gt; "inbox"; //picture/inbox,
          "message" =&gt; "I am just testing Push notification",
          "notId" =&gt; "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
          "summaryText" =&gt; "Venha provar os nossos Gins",
          "image" =&gt; "http://gintonico.com/content/uploads/2015/03/fontenova.jpg",
          "picture" =&gt; "http://media5.letsbonus.com/products/285000/285006/14014409744462-0-1700x690.jpg"
      ) ,
  </code></pre>
  
  <p>If anyone can send image and icon in notification using FCM please help me.</p>