title: How to send image using push notification?
body: <p>How to send push notification with the image using FCM, I have used below things but still just getting only title and text in the notification.</p>
  
  <p>I have used cordova based hybrid application. If anyone has any idea, please let me know.</p>
  
  <p>Sample curl code:</p>
  
  <pre><code>curl https://fcm.googleapis.com/fcm/send -X POST \
  --header "Authorization: key=&lt;AUT KEY&gt;" \
  --Header "Content-Type: application/json" \
   -d '
   {
     "to": "&lt;to TOKEN&gt;"
     "notification":{
       "title":"New Notification!",
       "body":"Test",
       "color":"#ff0000",
       "icon":"noti_icon",
       "img_url": "https://static.pexels.com/photos/4825/red-love-romantic-flowers.jpg",
       "image"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
      "avatar_url"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
      "url"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
      "image_url"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
      "largeIcon":"http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
     },
     "data" : {
        "img_url": "https://static.pexels.com/photos/4825/red-love-romantic-flowers.jpg",
        "image"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
        "avatar_url"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
        "url"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
        "image_url"  : "http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
        "message": "Firebase Push Message Using API",
        "largeIcon":"http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
        "main_picture":"http://cernyyachtdesign.com/wp-content/uploads/png-test.png",
      },
     "priority":1
   }'
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/xbr2R.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xbr2R.jpg" alt="Like this screenshot"></a></p>
  
  <p>Thanks.</p>