Digital Garden Plugin can't render images using Dataview, any fix?

What I’m trying to do

I’m using the Digital Garden Plugin to make a website using Github Pages. Essentially, I want to render some images both through dataview and inline dataview (for different applications within the website), something like this:

But all I get in the website is this, respectively:

Things I have tried

I’ve tried looking through both the Digital Garden Plugin Docs as well as the Dataview and Eleventy docs (the layer of translation Digital Garden uses to convert Markdown to HTML), and found nothing on the topic. I’ve also tried redering the images in several different ways (embed(link) vs ![link], for example), but it doesn’t matter, if I link to an image using dataview, it breaks in the website. I even tried to use Github Copilot to see if it could figure out the code to make it work (I’m not exactly an expert in Java Script or HTML).

To be clear, I know I can just write the HTML for the images directly into Obsidian. I’ve in fact been doing this for the website’s homepage for a while. But I really wanted to avoid it here, because I want these to be the notes I’m actually working on, instead of having a private and public version, and I like to have my characters’ portraits there when I work, sp if I use HTML to render them directly the way they’re supposed to, I can’t see them within Obsidian.

To make matters worse, I’m actually using a fork of the Digital Garden Plugin, based on an older version, because the plugin doesn’t have native support for Github Pages, so this might even have already been fixed in future versions…

Haven’t heard how well they work with images, but have heard the following work for publishing/exporting table and some other output from Dataview:

Might be worth checking out whether they work with Digital Garden.

1 Like

There are multiple assumptions here.

  1. Ole’s DG never had a version work for GH Pages, because the plugin doesn’t transform Wikilinks to Markdown links, which I seem to remember GH Pages sites expect. I could be wrong.
  2. Dataview has been supported by DG but the actual linking may not be as straightforward as linking like this ![[image.extension]]. I could be wrong on this one too. I probably never used DV (of my own accord), only DVJs as it gives the user more leverage. I remember problems using ! for embed. I see the same in the screenshot. It’s not DG problem, it’s DV problem.

So I think it’d be better to set things straight first and if I was wrong about either of the two points, feel free to set me straight also. My memory may not serve me right.