What if the same picture is attached in two notes in the same folder, but you decide to move one of the notes to another folder, what happen whit the attach?
@henrique I think the “right” thing to do is offer to update the link in the note that moved to point to the image in the original folder.
e.g. if it was
root | \______ foo (dir) | |____note1.md bar (dir) |____note2.md |____img1.png
before, in both note1 and note2, the referenced image could be as
note2.md to the
bar folder, the link should be
Another option would be a prompt that says “this note references local files that are shared by other notes. Do you want to duplicate the linked files, or update the references so they point to their original location?”
@luckman212 That can solve the problem.
I think it makes total sense to have more options for the folder path. But the perfect companion feature to that would be the ability to edit the filename of the embed/attachment on the spot, right there while writing in edit mode itself (and maybe inherit the name of the file with a numerical suffix as the default option).
Would something like this be possible? In fact, with that feature, I’d not care as much about not having folder options. Because even if its organized in a single Images folder then-- it’s still well-organized.
I have not officially changed over to Obsidian. I am still using KeepNote. This makes me wonder if I would have to go back and do a lot of cleanup if they changed it to a per folder workflow. I know if you move a note all links get updated. I am hoping attachments would work the same. I am hesitant to commit and start using it yet. I do agree that a per folder or an option as listed above is better long term.
“But the perfect companion feature to that would be the ability to edit the filename of the embed/attachment on the spot, right there while writing in edit mode itself (and maybe inherit the name of the file with a numerical suffix as the default option).”
Yes! Especially the ‘inherit the name of the file’ bit. This would be ideal.
Example: for a note called “bug in data section”
here is a line of text.
1st pasted image: auto named [[bug in data section 01.jpg]]
another line of the text
2nd pasted image: auto named [[bug in data section 02.png]]
And you can always give it a different title within your md:
[[bug in data section 01.jpg | new title]]
this has been implemented in 0.10.8
That is great news!
Not quite totally implemented, but it’s a nice progress !
As I understand it, there is still no way of naming the image subfolder after the current note.
Open a feature request specific for that.
Woohoo, that is excellent news. Now just to find out how to become an Insider, so I can play with it.
Did you ever open a feature request for making attachments relative to the path of the current note/file ?
The feature has been requested here: Support for storing attachments relative to the path of the current note/file
This feature was added in v0.10.8. Obsidian Release v0.10.8
Not yet, sorry !
Very disappointing. That’s the feature I was just searching for in Obsidian and it’s not implemented it seems. If I have 50 .md notes in a folder, I don’t want all of my images comingling in 1 place. I want them separated by the notes names.
The custom-attachment-location plugin has been working great for me. Highly recommend.