Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Attachment Placement

hutnerrhutnerr113 downloads

Define rules for more advanced and custom placement of newly created attachments.

Add to Obsidian
Attachment Placement screenshot
Attachment Placement screenshot
  • Overview
  • Scorecard
  • Updates2

This plugin is meant to make resource placement more flexible and context-aware.

Instead of forcing all new resources into a single hardcoded folder, it lets you define where resources should go based on the file or folder you’re currently working in. The plugin will walk up the directory tree and use the first placement rule it finds.

This plugin would likely be useful for people who like to copy-paste in images and would like some further organization.

Links

  • Showcase
  • Help Page

How To Use

Placement rules can be defined on individual folders.

When a new resource is created:

  1. The plugin checks if the current folder has a placement rule.
  2. If not, it checks the parent folder.
  3. This continues upward until a rule is found.
  4. The resource is placed according to that rule.

To get started with the plugin, open up the settings and define some rules for which attachments should be placed.

Once there are rules set, the plugin will pay attention to new files being created and handle them according to the rules set.

Example

Given the following structure:

/
├── attachments/
│   ├── school/
│   ├── journal/
│   └── videogames/
├── journal/
├── league-of-legends/
├── dragon-age-origins/
└── school/
    └── math/
        ├── factoring.md
        └── addition.md

If we are working within addition.md, we will check its parent folder (math/) for a placement rule, if it exists, related resources will be placed using that rule.

If it does not exist, we will check the next parent (school/). We continue this parent checking sequence until we hit a rule that we can use or hit the root folder.

If no rule is found, the plugin uses the fallback location defined in settings.

To complete the example, these are what some actual placement rules might look like:

image

If you'd like another example, check out the help page.

Future Roadmap

  1. Allow sources to be .md files for even finer control.
  2. Option to parse and re-sort through all attachments in specific folders

Support

If you found this project helpful or enjoyable, and want to support future work, you can buy me a coffee on Ko-fi
Totally optional, always appreciated.

99%
HealthExcellent
ReviewPassed
About
Place new attachments according to file or folder-specific rules by walking up the directory tree and applying the first matching rule. Keep pasted images and other resources organized by context and fall back to a default location when no rule applies.
AttachmentsFoldersAutomation
Details
Current version
1.1.0
Last updated
13 hours ago
Created
4 months ago
Updates
2 releases
Downloads
113
Compatible with
Obsidian 1.4.10+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
hutnerrhutnerr
www.hunter-baker.com/
GitHubhutnerr
  1. Community
  2. Plugins
  3. Attachments
  4. Attachment Placement

Related plugins

Waypoint

Easily generate dynamic MOCs in your folder notes using waypoints. Enables folders to show up in the graph view and removes the need for messy tags!

Attachment Management

Customize attachment path, auto-rename attachments, etc.

Paste image rename

Rename image after pasting, support name pattern and auto renaming.

Auto Note Mover

Automatically move the active notes to their respective folders according to rules you set.

QuickAdd

Quickly add new notes or content to your vault.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

BRAT

Easily install a beta version of a plugin for testing.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.