request to embed local images from their original location/directory using : ![FILE](file:///...) or <img src="file:///..."></img>
why :
I don’t want a copy in my attachment folder, I need to link/embed images from their original location, as the original image may evolve over time (same file name, but content gets replaced over time)
Off the top of my head, the best I can come up with now is to name all the images in sequence and use the syntax you provided, which I have not tried yet. This would make linking to a list of images easy. I guess if I embedded them with additional regular text numbers between images, I could use it as a library if I did a side by side pane (edit/preview) setup. Unfortunately, with this easier linking would require losing descriptive image names.
I guess I will be trying to make a macro for sequentially copying a list of image files paths and pasting them with the syntax you provided.
Beginning part:
<img
src="app://local/
Then path:
c://Users/username/Documents/obsidian_notebook/state_transition.png
Then end part:
">
This shouldn’t be to bad, but I suspect someone has already automated this.
Probably will be best to just isolate them in a folder, and generate a list of file paths using the folder index technique and append syntax in a spreadsheet. I guess I kind of gave answer med my own question, but if anyone has a better way, I am definitely interested.
I have Obsidian 0.11, but the syntax:
![FILE](file:///home/path/to/file.jpg)
Does not work for me. I am on Linux. Is there a mistake in my syntax or has this not been implemented yet ?
I think it would be great if we could put as a link the obsidian URL of the file as an alternative option
You need to hold ctrl too, if not it wil copy the image to the vault. With ctrl, it can link to files outside the vault.
I personally also had issues. Holding ctrl while drag and drop the files seems to work. But in the end I use the “File path to URI” plugin. Much more convenient.