generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Regarding the setting: "Location for new attachments".
I expect . to produce the same behavior as ${noteFolderPath} because ./test2 creates a folder that is relative to the parent folder of the note.
NOTE: . may be the only way to specify putting attachments in the vault root.
Steps to Reproduce
- Create "test/Untitled 4.md"
- Set "Location for new attachments" according to one of the options in Actual Behavior
- Drag image into file
Expected Behavior
The setting "Location for new attachments" produces equivalent outcomes when set to either ${noteFolderPath} or .
Actual Behavior
| Location for new attachments string | file path | attachment path |
|---|---|---|
| ${noteFolderPath} | test/Untitled 4.md | test/Untitled 4_file_2025102911_3335989.jpg |
| . | test/Untitled 4.md | vault root |
| ./ | test/Untitled 4.md | vault root |
| ./test2 | test/Untitled 4.md | test/test2/Untitled 4_file_2025102911_2807952.jpg |
| .test2 | test/Untitled 4.md | no link produced |
Environment Information
- Plugin Version: 9.17.11
- Obsidian Version: v1.9.14
- Operating System: Windows 11
Attachments
Multiple setting adjustments required.
Confirmations
- I attached a video showing the bug, or it is not necessary
- I attached a sample vault where the bug can be reproduced, or it is not necessary
- I have tested the bug with the latest version of the plugin
- I have checked GitHub for existing bugs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working