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

Image Attachment Upload

rocketBANGrocketBANG55 downloads

Pick an image, upload it to Cloudflare R2, and insert it inline or set it as the note's image property.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Obsidian plugin: adds commands to pick an image on your device, upload it to Cloudflare R2, and drop it into the current note — either as an inline embed or as a frontmatter property.

Works on desktop and mobile (signing is done on-device with the Web Crypto API; no SDKs, no CORS setup needed on the bucket).

Commands

  • Upload image and insert inline — opens a file picker, uploads to R2, inserts ![<note name>](<public url>) at the cursor.
  • Upload image and set image property — opens a file picker, uploads to R2, sets the note's image frontmatter property (name configurable) to the public URL.

Setup

  1. Create an R2 API token (Object Read & Write, ideally scoped to one bucket) — this gives you an access key ID + secret.
  2. Serve the bucket publicly via a custom domain (or the bucket's r2.dev development URL).
  3. Fill in the plugin settings: access key ID, secret, endpoint (https://<account-id>.r2.cloudflarestorage.com), bucket name, path template, and the public base URL.

Object keys follow the path template (default /{year}/{mon}/{day}/{filename}), with a short random suffix added to the filename to avoid collisions.

Note: like most uploader plugins, credentials are stored in plaintext in the plugin's data.json inside your vault. Scope the R2 token to the one bucket, and keep that file out of any git repo your vault lives in.

Installing via BRAT

Add rocketBANG/obsidian-image-attachment-upload as a beta plugin in BRAT.

Manually installing the plugin

Copy main.js, styles.css, and manifest.json into <vault>/.obsidian/plugins/image-attachment-upload/.

Development

Requires NodeJS v22.13+ and pnpm 11.

  • pnpm i to install dependencies.
  • pnpm run dev to start compilation in watch mode (produces main.js).
  • pnpm run build for a production build.
  • pnpm run lint to lint.

Releasing

  • Run pnpm version patch (or minor / major) after updating minAppVersion manually in manifest.json if needed — this bumps manifest.json, package.json, and versions.json.
  • Push a tag matching the exact version number (no v prefix); the release workflow builds the plugin and drafts a GitHub release with main.js, manifest.json, and styles.css attached.
HealthExcellent
ReviewPassed
About
Pick an image from your device and upload it directly to a Cloudflare R2 bucket with on-device signing for desktop and mobile. Insert the uploaded file as an inline Markdown embed or set it as the note's image frontmatter property, using path templates and short random suffixes to avoid collisions.
AttachmentsImages
Details
Current version
0.1.0
Last updated
4 weeks ago
Created
4 weeks ago
Updates
1 release
Downloads
55
Compatible with
Obsidian 1.12.7+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
rocketBANGrocketBANGrocketbang
GitHubrocketbang
  1. Community
  2. Plugins
  3. Attachments
  4. Image Attachment Upload

Related plugins

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Paste image rename

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

Image auto upload

Upload images from your clipboard by PicGo.

Imgur

Upload images from your clipboard to imgur.com and embeds uploaded image to your note.

CMDS Eagle

Connect Eagle asset library to Obsidian. Search, embed, and upload images to cloud (ImgHippo, R2, S3, WebDAV).

S3 Image Uploader

Self-host images on AWS S3.

Local images

Find all links to external images in your notes, download and save images locally, and adjust the image links in your notes to point to the saved image files.