title: How do I increase the size of Notification Center notification images in macOS Big Sur using node-notifier or some other Node notifications library?
body: <p><strong>TL;DR:</strong> This could be a question with an easy answer, but I'm either looking for a solution that allows me to use larger content images in macOS Big Sur notifications or evidence that it is no longer possible.</p>
  <p>In macOS X High Sierra (and possibly Catalina), it was possible to display notifications in the top-right of the screen like so:</p>
  <p><a href="https://i.stack.imgur.com/tZbm3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tZbm3.png" alt="enter image description here" /></a></p>
  <p>I'm working on changes to the OSS <a href="https://github.com/davicorreiajr/spotify-now-playing" rel="nofollow noreferrer">spotify-now-playing</a> that will allow displaying album art in notifications as it currently does not do this. Here's what it looks like in Big Sur:</p>
  <p><a href="https://i.stack.imgur.com/n444M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n444M.png" alt="enter image description here" /></a></p>
  <p>It was easy enough to add the content image to the notification. This is what that looks like:</p>
  <p><a href="https://i.stack.imgur.com/rSdEZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rSdEZ.png" alt="enter image description here" /></a></p>
  <p>The code for this looks something like this (chopped up for clarity):</p>
  <pre class="lang-js prettyprint-override"><code>const NotificationCenter = require('node-notifier').NotificationCenter;
  const notifier = new NotificationCenter({ withFallback: false });
  
  // All the data maps correctly. The icon key/value pair does not seem to
  // affect the notification that is displayed.
  
  notifier.notify({
    title: mappedData.musicName,
    subtitle: mappedData.artistName,
    message: mappedData.albumName,
    contentImage: mappedData.albumImageSrc,
    icon: mappedData.albumImageSrc,
    group: 'Spotify',
    remove: 'ALL',
    sender: 'com.spotify.client',
    timeout: '5',
  });
  </code></pre>
  <p>The problem I have is that the album art is very small in comparison to the examples I found in the past. I struggle to find evidence that it is no longer possible to display larger images, or perhaps larger icons.</p>
  <p>I even bought Notify for Spotify on the App Store prior to this:</p>
  <p><a href="https://i.stack.imgur.com/J3Ry7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J3Ry7.png" alt="enter image description here" /></a></p>
  <p>No luck there either. Something like this should be open-sourced anyway, so pressing on, I've looked into:</p>
  <ul>
  <li>Apple's official API documentation.
  <ul>
  <li>Unsurprisingly, this was for their Swift API. For now, rewriting an app in Swift really isn't a path I'd like to go down.</li>
  </ul>
  </li>
  <li>The official documentation for <a href="https://github.com/mikaelbr/node-notifier" rel="nofollow noreferrer">node-notifier</a>.</li>
  <li>The documentation for <a href="https://github.com/julienXX/terminal-notifier" rel="nofollow noreferrer">terminal-notifier</a>.</li>
  <li>Tested out some system notifications and <a href="https://www.bennish.net/web-notifications.html" rel="nofollow noreferrer">browser notifications</a>.</li>
  <li>The documentation for <a href="https://github.com/vjeantet/alerter" rel="nofollow noreferrer">alerter</a>.</li>
  </ul>
  <p>At this point it seems like Apple just made it impossible to display large images anymore. But no matter how hard I look, I can't find any <em>evidence</em> that they did this.</p>
  <p>What I'd like is that evidence, a workaround using <code>node-notifier</code> or another Node notifications library that allows larger images, or evidence it is only possible using XCode and Swift.</p>
  <p>Thanks!</p>