Import Pictures depending on metadata

What I’m trying to do

I try to show the file in a note depending on metadata.
If the checkbox is true, show picture “a.png”.
If the checkbox is false, show picture “b.png”.

Things I have tried


list picture
FLATTEN choice(inlinecheck, "![[a.png]]", "![[b.png]]")" as picture
WHERE file = this.file

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