Adding custom local images within Dataview

Hi everyone!

I’ve got into the rabbit hole of Obsidian since a few days and I’m about the finish my own vault with a lot of customization but I’m having headaches with one thing: Instead of the usual international emoji icon, I’d like to add my custom png icon as the title of a column in Dataview.
Here is a picture to give you a look of the current icons that I would like to change with my owns.

So far I’ve tried the following code to no avail…It’s properly located in the icons folder as a png, so I don’t get why it’s giving me an error?

dataview
table without id
    link(file.path, dateformat(date(file.name), "cccc")) AS "Jour",
    Candidatures AS "💼",
    choice(sleep,"🟢","❌") AS "😴",
    choice(gym, "🟢", "❌") AS "🏋️‍♀️",
    choice(Anki, "🟢", "❌") AS ".obsidian/icons/Anki.png",
    choice(reading, "🟢", "❌") AS "👓"
from "05.Journal/01 Daily"
where week = "<% moment(tp.file.title).format("gggg-[W]ww") %>"
sort file.name ASC

Thank you!

Any ideas here^^?

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