abo-abo / org-download

Drag and drop images to Emacs org-mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inline images not being displayed automatically

archiif opened this issue · comments

Downloading images with org-download-image or org-download-yank doesn't automatically display the image being pasted.
Strangely, it does display all other previously existing images in the buffer.
Even more strangely, if you call org-download-insert-link directly with something like (org-download-insert-link "" "existing-image.jpg"), the image is successfully displayed.
My guess is that (org-download--display-inline-images) is being called before the image exists in the local directory, but I'm not so sure.

commented

Might be a slightly different issue but running org-toggle-inline-images was the answer for me. And also the variable org-startup-with-inline-images to always show the images at file open.