> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifly.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Web push images, icons, and badges

> Set up images, icons, and badges for web push. Check what each browser and operating system can display.

## 1. Web push components

![Title, body, image, icon, and badge in a web push notification](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/en/web-push-notification/web-push-components.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=811fd9324081801691e1ec86635d2246)

### 1-1. Notification title and body

Enter the title and body of the notification in the campaign.

### 1-2. Image (optional)

Set the notification image in the campaign.

* Use a PNG or JPEG (.jpg or .jpeg) file. A file size of 200 KB or less is recommended.
* We recommend an image of at least 360 × 240 pixels. Check how it looks on desktop and mobile because the display size and aspect ratio can vary.

Chrome on macOS doesn't display the notification image. See [Chrome's announcement on native notifications in macOS](https://developer.chrome.com/blog/native-mac-os-notifications?hl=en).

### 1-3. Web push icon

Set the icon under **Web push icon** in the channel settings. Upload an image or enter its URL.

* Use a PNG or JPEG (.jpg or .jpeg) file. A file size of 100 KB or less is recommended.
* Use a 192 × 192 pixel image with a transparent background.

### 1-4. Web push badge

Set the badge under **Web push badge** in the channel settings. Upload an image or enter its URL.

* Use a PNG or JPEG (.jpg or .jpeg) file. A file size of 100 KB or less is recommended.
* Use a 72 × 72 pixel black-and-white icon with a transparent background.

You can create a badge with Android Asset Studio's [Notification icon generator](https://romannurik.github.io/AndroidAssetStudio/icons-notification.html) or another image editor.

Chrome on Android can show the custom badge. The fallback icon depends on the browser and operating system.

### 1-5. Image, icon, and badge support by platform and browser

In the table, O means supported and X means unsupported.

| Platform | Browser | Image | Icon | Badge |
| - | - | - | - | - |
| Android | Chrome | O | O | O |
| Android | Firefox | O | O | X |
| Android | Other browsers | O | O | X |
| iOS | Home Screen web app | X | O | X |
| macOS | Safari | X | O | X |
| macOS | Chrome | X | O | X |
| macOS | Firefox | O | O | X |
| macOS | Other browsers | O | O | X |
| Windows | Chrome | O | O | X |
| Windows | Firefox | O | O | X |
| Windows | Edge | O | O | X |
| Windows | Other browsers | O | O | X |

## 2. Set the web push badge and icon

1. Sign in to the Notifly console and open **Settings**.
2. Open **Channel Settings > Web Push Notification (Web)** and configure **Web push icon** and **Web push badge**.

![Web push icon and badge fields in the channel settings](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/en/web-push-notification/web-push-badge-and-icon.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=0c972c7f9b797055584ef3c4f9901bc0)

Send a test web push notification to check that the badge and icon appear as expected.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.