Concepts
Media library
Pick, upload and reuse images and videos in Herald, search free photos and videos from Unsplash and Pexels, and where each channel shows a video.
The media library is where you choose the image or video for a push, an in-app message, a content card or an email. Every image field in Herald's message editors has a Choose media button that opens it. You can still use Paste URL to type an image address yourself.
Choose media
The picker has these tabs:
| Tab | What it holds |
|---|---|
| Library | Everything your account used or uploaded before: uploads, stock items and generated images. Filter by images or videos. Library items are shared across your apps. |
| Unsplash | Free photos. The tab says "Photos from Unsplash". |
| Pexels | Free photos and videos. The tab says "Photos and videos provided by Pexels". |
| Generate | AI image generation, shown only where it is turned on for your account. |
Search either provider, narrow by orientation (landscape, portrait or square) and choose Load more for further results. When you choose Use this image or Use this video, Herald saves the item to your library and sizes the picture for the channel you are editing.
If a provider is not set up for your deployment, its tab is hidden. If you search a lot in a short time you may see "Too many searches. Try again in a few minutes." or "<Provider> is busy. Try again soon." Searches you have made recently are served from a cache and don't count against these limits.
Upload your own
Choose Upload on the Library tab.
- Images: JPEG, PNG, GIF or WebP, up to 10 MB.
- Videos: MP4, up to 50 MB. Herald takes a poster image from the first frame of the video in your browser.
Where uploads aren't set up for your deployment, the Library tab says "Uploads aren't set up". Deleting a file asks "Delete this file?" and adds "It stays in messages that already use it." Messages keep the address they saved, so a file you deleted may stop loading later; delete a file only when no message needs it.
Image sizes
Herald sizes a stock photo for the channel it is going to. Your own uploads and generated images are used as they are, so upload them at a size that suits the channel.
| Channel | Size |
|---|---|
| Push, iOS and Android | 1,024 by 512 pixels, JPEG |
| In-app message | 1,080 by 1,080 pixels |
| Content card | 1,200 by 800 pixels |
| 1,200 pixels wide |
The editor warns you when an uploaded image's shape doesn't match the channel ("It will be cropped"), when a push image is over 1 MB ("may not show on Android push") or WebP ("may not show on iOS push").
Video
A video always comes with a poster image, and the message's image is that poster. That keeps every older app, and every channel without video support, showing a picture.
| Channel | What people see |
|---|---|
| iOS push | The video, when the app has the Notification Service Extension and the video is MP4 or QuickTime and at most 10 MB. Otherwise the poster, then the text. |
| Android push | The poster. |
| In-app message | The poster with a play button in modal and full-screen messages. A tap plays it with sound. Slideup and HTML messages show no video. |
| Content card | The poster with a play button in captioned-image cards. A tap plays it with sound. |
| The poster, linked to the video, with a "Watch the video" link. |
Video needs SDK 0.6.0 or later in the app. Older SDKs show the poster. See Rich push, In-app messages and Content cards.
When you choose a Pexels video for a push, Herald picks a version of at most 720p and prefers one that is 10 MB or less. If none is that small, the editor warns "This video is too large for iOS push. iOS will show the poster."
Credits
Photos and videos from Unsplash and Pexels carry the creator's name and links. In email, Herald can add a line such as "Photo by Ada on Unsplash" or "Video by Jo on Pexels" that links to the creator and the provider. In-app messages and content cards carry the credit in credit for apps that want to show it (see the event payload and the SDK references). Unsplash and Pexels ask that you credit creators where it is practical.
Allowed sources
A message that carries media can only use pictures and videos from Unsplash, Pexels or your Herald uploads. Herald refuses any other address with "Media URLs must use a supported host." A message with a plain pasted image URL has no such rule.
See Limits for every size and search limit.