Inline images in org-mode

yogeshagr picture yogeshagr · Nov 25, 2014 · Viewed 20.7k times · Source

I want to insert inline image in my org file in emacs. I am completely new to emacs and org-mode. I searched in google but could not find immediate solution. If anyone knows how to display inline images in the same buffer in org-mode emacs, please share.

Answer

Rémi picture Rémi · Nov 25, 2014

if you add [[myimage.png]], org mode will use the file myimage.png as an inline image for myimage.png. You can then run M-x org-display-inline-images to display your inline image.

adding

(setq org-startup-with-inline-images t)

to your .emacs will make image inlined on opening a org buffer. M-x org-redisplay-inline-images will refresh inlined image if needed.

You could also add

#+STARTUP: inlineimages

to an org file for inlining images only in this file.