Dataview (cards) doesn't show local image banners

Using the beta of the banners plugin, dataview and the cards snippet. When I use an image link (e.g. obsidian icon) as the banner it appears in the dataview query, but if it’s a local image (e.g. ![[obsidian icon]] it doesn’t show. The frontmatter and dataview are the same for both the web and local images.