trganda / obsidian-attachment-management

Attachment Management of Obsidian
MIT License
143 stars 8 forks source link

[FR] : Exclude image filename or path #73

Open jerviscui opened 8 months ago

jerviscui commented 8 months ago

I wish I could set it to exclude files with a specific name or images in a specific path. When using the Re-Arrange the attachment file function.

trganda commented 8 months ago

The exclude options was only working on document file, like markdown or canvas. Currently, you can only exclude the directory of notes (e.g. test), but you can't specific a full path of a notes (e.g. test/note.md).

trganda commented 8 months ago

I will conside add support for using a full path of a notes, or regex pattern to exclude note file

jerviscui commented 8 months ago

I set a banner effect on the specified image. So, I made a small modification to the plugin js to achieve the exclusion of background.jpg.