README file from
GithubCopy Image Hotkey
Cmd+C (or Ctrl+C) copies the actual image to your clipboard when an image embed is selected in an Obsidian note — instead of copying the wikilink text.
Why
By default, selecting ![[my-photo.png]] in source mode and pressing Cmd+C copies the literal text ![[my-photo.png]]. If you want to paste the image into another app (Slack, Mail, Figma, etc.), you have to right-click and "Copy image" from the rendered preview, which breaks flow.
This plugin makes Cmd+C just work: select the image embed, copy, paste anywhere.
Demo

How it works
The plugin listens for the system copy event. When the current selection is either:
- text matching
![[filename.ext]](source mode), or - a rendered
<img>element (Live Preview),
it intercepts the copy, reads the image binary from your vault, and writes it to the clipboard as the correct MIME type. SVGs are written as text. Everything else is written as Blob.
Supported formats: PNG, JPG/JPEG, GIF, BMP, TIFF, WebP, SVG.
Install
From the Obsidian community plugins (post-approval)
- Settings → Community Plugins → Browse
- Search for "Copy Image Hotkey"
- Install and enable
Pre-approval (via BRAT)
While the plugin is awaiting community-plugin approval, install via BRAT:
- Install and enable BRAT from the community plugin browser
- BRAT settings → "Add Beta plugin"
- Paste:
aliir74/copy-image-hotkey - Enable Copy Image Hotkey under Settings → Community Plugins
Manual install
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Drop them into
<your-vault>/.obsidian/plugins/copy-image-hotkey/ - Reload Obsidian → Settings → Community Plugins → enable Copy Image Hotkey
Notes
- Desktop-only (uses the
navigator.clipboard.writeAPI withClipboardItem). - The plugin doesn't bind a custom hotkey — it intercepts the existing system copy. If you've remapped copy elsewhere, the plugin will still trigger off whichever key fires the
copyevent.
License
MIT — see LICENSE.