9 ms·
eehh... so (out of the box) in org mode if you type [[./file/path/to.png]] it will turn into a link, if you hit Ctrl-c-x-v it will toggle between showing image
by Avshalom 4y ago
eehh...
so (out of the box) in org mode if you type [[./file/path/to.png]] it will turn into a link, if you hit Ctrl-c-x-v it will toggle between showing images as a link (which will open in a new emacs buffer) and just showing the images inline.
ALSO you can just drag an image file onto an emacs window and it will display it in a new buffer.
however getting it so that A) images are displayed automatically when you finish typing the [[path]] and/or B) dragging an image into emacs will result in a new link in orgmode... that's probably possible
- codemonkey-zeta 4y agohttps://github.com/abo-abo/org-download https://github.com/abo-abo/org-download This is the package you're looking for. Just drag and drop images into the org mode buffer and you're done. I've been using it for years to take lecture / book notes in org mode where I have to constantly take screenshots and embed them in my notes.
- Avshalom 4y agothat's part B. part A is still annoying though. if you have inline images toggled and type in a new image it still turns into a link instead of an inline image.
- codemonkey-zeta 4y agoThat's an org mode setting, can be added to the #+startup declaration at the top of the file.