Referencing local images works perfectly with markdown. I can then reference my images using a relative syntax (_media/image.png).
img-tags works fine as long as the src is an URL. I read that I can also reference local images using absolute paths with the img-tag, but I’ve not tested this myself.
What I’m trying to do
I’d like a portable way (works for both desktop and mobile) to display local images in html blocks (tables).
Is there a way to achieve this? If not, is it on the roadmap?
Would it be possible to write a plugin that “intercepts” image links in html and redirects to the absolute path of the image? I’d prefer not to alter the actual .md-files…
For Android I tried adding clean_link = clean_link.replace("file://localhost/", ""); for Android but that didn’t work. Not sure what part of the file path to remove on Android.
It isnt work on Ubuntu22, i place the master folder in workspace/.obsidian/plugins, and have confirmed the plugin shows in “Setting - Community Plugins - Installed Plugins”, is there anything wrong?