Please consider adding another option to Obsidian allowing the storage of attachments in a path relative to the path of the currently open note or file.
Example:
Use relative path for file attachments: Y
Attachment Folder Path: my_note_attachments
[note: this folder should not begin with a slash or absolute directory component]
Obsidian currently supports a dedicated attachment directory, but this directory quickly becomes overwhelmed with files and quite unmanageable.
Suppose I have the following vault open:
/home/user/Obsidian/
And the following note/file is being edited:
./history/1944/note.md
(which has a full path of /home/user/Obsidian/history/1944/note.md).
If I drag an attachment called “picture.jpg” to my .md file, it will then be located in /home/user/Obsidian/history/1944/my_note_attachments/picture.jpg
Naturally, if I dragged a file called ‘picture2.jpg’ to the note /home/user/Obsidian/history/2001/note.md, the attachment would be located in /home/user/Obsidian/history/2001/my_note_attachments/picture.jpg
This feature would dramatically improve the organization of attachments in Obsidian.