Next: , Previous: , Up: Markup for Rich Contents   [Contents][Index]

12.7 Images

An image is a link to an image file117 that does not have a description part, for example


If you wish to define a caption for the image (see Captions) and maybe a label for internal cross references (see Internal Links), make sure that the link is on a line by itself and precede it with ‘CAPTION’ and ‘NAME’ keywords as follows:

#+CAPTION: This is the caption for the next figure link (or table)
#+NAME:   fig:SED-HR4049

Such images can be displayed within the buffer with the following command:

C-c C-x C-v (org-toggle-inline-images)

Toggle the inline display of linked images. When called with a prefix argument, also display images that do have a link description. You can ask for inline images to be displayed at startup by configuring the variable org-startup-with-inline-images118.

By default, Org mode displays inline images according to their actual width. You can customize the displayed image width using org-image-actual-width variable (globally) or ‘ORG-IMAGE-ACTUAL-WIDTH’ property (subtree-level)119. Their value can be the following:

Inline images can also be displayed when cycling the folding state. When custom option org-cycle-inline-images-display is set, the visible inline images under subtree will be displayed automatically.



What Emacs considers to be an image depends on image-file-name-extensions and image-file-name-regexps.


The variable org-startup-with-inline-images can be set within a buffer with the ‘STARTUP’ options ‘inlineimages’ and ‘noinlineimages’.


The width can be customized in Emacs >= 24.1, built with imagemagick support.

Next: Captions, Previous: Literal Examples, Up: Markup for Rich Contents   [Contents][Index]