|
Is there a way to download / copy an image that is embedded in a note? I often need the image somewhere else after only "saving" it in a note and if I select the image and ctrl+c it copies the image caption. |
Replies: 1 comment 3 replies
|
@nema69 When you Ctrl+C an image in a note, Trilium copies its internal reference rather than the actual image data — that's the current design since images are stored in an internal database [1]. To get the actual image onto your OS clipboard: double-click the image to open it in the attachment view, then right-click on it. You'll see two options — "Copy reference to clipboard" and "Copy image to clipboard". Choose the latter, and you can paste the image into any external app [1]. Another option mentioned by community members is the image-zoom-widget extension, which also adds a copy-to-clipboard capability [1]. There's ongoing discussion about making Ctrl+C copy both text and images together for pasting into external apps, but it's tricky because the same copy behavior is also used internally between notes where internal links are needed [1]. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Yes — this is already implemented. The PR #10198 merged for v0.105.0 makes text selections that include images embed those images as self-contained
data:URIs on the clipboard, so pasting into an external app (email client, word processor, etc.) carries the actual picture instead of a broken internal reference. Copying within Trilium still stays reference-based, so no duplicate attachments are created. The v0.105.0 release notes confirm this under "Images & clipboard": "you can now paste text with images from Trilium into other apps without the image disappearing" [1].The implementation consists of a
ClipboardImageEmbedCKEditor plugin for the editable surface, plus an application-levelc…