How to attach an image, an audio, a GIF or a video to a push notification?

You can easily add an attachment to your push notification directly from the dashboard. Keep in mind that each OS supports different types of attachments.

You can attach an image, a GIF, or a video to your push campaign from the campaign editor if the OS supports that feature.

Click "Add media" in the message preview:

And choose between these two options:

  • From Computer: upload a file directly from your computer

  • From link: upload a URL:

Here is some information on the supported attachments:

Image attachment

Batch lets you send large-format notifications with a large image attachment. We require a landscape image, PNG or JPG, with a minimum width and height of 300px.

Images can be displayed on:

  • iOS 10+: Make sure you integrated the extension for rich push notifications.

  • Android 4.1+

  • Web: Chrome 56+ on Windows/Android.

GIF / Audio / Video attachments

Audio

The file must be an mp3 file with a valid mime type, hosted on an HTTPS server. The OS will automatically download the mp3 file and drop the download if it takes more than 30 seconds.

Video

You can add a video attachment using an mp4 file, with a valid mime type and hosted on an HTTPS server.

The video will be downloaded automatically on your users' devices and iOS will drop the download if it takes more than 30 seconds.

GIF

You can also attach a GIF file to your push notification. The GIF file must have a valid mime type and be hosted on an HTTPS server.

Troubleshooting

If the attachment is not displayed, here are some suggestions to find the issue:

1

Step 1:

​On iOS, make sure you have implemented the additional extension for rich push notifications, and check the deployment target. If your device's iOS version is below the target, you won't receive an image in your push notification.

2

Step 2:

In case you are still facing the same issue, try disabling the energy-saving mode on iOS or Android and retry using a 4G network.

Last updated

Was this helpful?