How to embed a local file with relative path to the vault?

What I’m trying to do

My work folder which contains the vault folder is synced via Google Drive. I would like to embed a local file (e.g. image) located outside of the vault folder but inside the work folder via a relative file path.

For example, I have the following file structure (on windows):
c:\work\image.png
c:\work\obsidian-vault

In a md file located inside of obsidian-vault, I’d like to embed the image via something like …/image.png.

Things I have tried

I understand that it’s possible to use control + mouse drag to generate an absolute path which looks like:

[image.png](file:///C:%5Cwork%5Cimage.png)

It works well. However, I don’t know how (or whether it’s possible) to embed the image using a relative path to the vault (in a parent folder) because the overall work folder is synced across multiple platforms and the absolute path might change.

Thank you for your help!

1 Like

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