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 imagearrow-up-right, 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:

triangle-exclamation

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:

GIF / Audio / Video attachments

triangle-exclamation

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.

circle-info

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 notificationsarrow-up-right, 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.

arrow-up-right

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