title: How to show the image in push notification (Gcm) php
body: <p>How do i send a push notification like in the following picture using PHP and GCM service.</p>
  
  <p>i am currently sending the following data to GCM for normal push notifications</p>
  
  <pre><code>$message = array(
      'title' =&gt; 'Example Title',
      'subtitle' =&gt; 'Example Subtitle',
      'message' =&gt;'Example Message',
      'tickerText' =&gt; 'XYZ',
      'vibrate' =&gt; '1',
      'sound' =&gt; '1',
  );
  </code></pre>
  
  <p>to this url</p>
  
  <p><a href="https://android.googleapis.com/gcm/send" rel="nofollow noreferrer">https://android.googleapis.com/gcm/send</a></p>
  
  <p><a href="https://i.stack.imgur.com/5p4pa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5p4pa.png" alt="Flipkart Image Push Notification"></a></p>