obsidian-attachment-management icon indicating copy to clipboard operation
obsidian-attachment-management copied to clipboard

Attachment does not automatically renamed (bug)

Open neins opened this issue 1 year ago • 3 comments

Hello. Plugin doesn't change path of corresponding attachment

I choose these settings for attachments: Obsidian settings: Files and links -> Save new attachments in vault root by default Plugin settings: Save in the folder specified below Root folder: _attachments Attachment path: ${notepath}/${notename} Attachment format: ${notename}-${originalname} Automatically rename attachment: is set

(trying to use hidden folder .attachments) I tried to use hidden named folder .attachments but unfortunately it working in half way. Plugin creates all folders by the .attachment/${notepath} pattern but the attachment file always appear in vault folder and not renamed by attachment format

There is simple structure for example: image

When I attach some image to the note the plugin creates corresponding path: _attachments/projects/1/note/note-0.png But when I move (and/or rename) note.md from folder 1 to folder 2 I expect that attachment(s) will be automatically update its path, but it is still remain in the same location in _attachments

Should Automatically rename attachment setting work in this scenario?

neins avatar Dec 07 '23 08:12 neins