Dataview: embed image from linked note?

So firstly, Obsidian is a great tool, kudos to the team and everyone who contributes!

What I’m trying to do

I want to create a dataview table with embedded images. To make this more complicated, what I want to do though is embed images from a linked note. I.e., the query returns a set of images a, which are linked to another set of records b. So, each a record has a link to another b records. I want a query for a table that shows:

  • A list of a records, with, in each row:
  • An embedded image that is referenced in a link from the a note
  • The b note referenced from the a note
  • An embedded image that is referenced in the b note

So far I’ve managed the first three items and I’m stuck on the fourth.

Because that probably makes no sense, here are some pictures. The example is a table of tarot cards with memory associations, but ignore that for the general question :slight_smile: :

This query:
image

produces this table:

from this parameter data model:

image

image

… and what I want to get is the image B1 embedded in the table. Basically traverse the relationship from note A to note B and retrieve the linked image from there.

Things I have tried

I searched for every term I could think of that would be relevant, but I’m not sure how to describe the problem, so didn’t find anything. I guessed the syntax should be something that describes the link like this:

… but obviously that doesn’t work.

Possibly the table query can’t traverse relationships and I need to do something on the a cards that puts a reference in the a parameters that can be returned by the query, but I’m not sure if that even makes sense.

Any suggestions?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.