News for hackers. Stuff that matters.
Re:Cool desktops don’t change by Avshalom on Friday June 17, 2022 @07:39AM (#31776715)
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

Re:Cool desktops don’t change by codemonkey-zeta on Friday June 17, 2022 @09:54AM (#31778196)
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.

Re:Cool desktops don’t change by Avshalom on Friday June 17, 2022 @08:26PM (#31786188)
that'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.

Re:Cool desktops don’t change by codemonkey-zeta on Sunday June 19, 2022 @04:53PM (#31803393)
That's an org mode setting, can be added to the #+startup declaration at the top of the file.