Variable: org-image-actual-width
org-image-actual-width is a customizable variable defined in
org.el.gz.
Value
t
Documentation
When non-nil, use the actual width of images when inlining them.
When set to a number, use imagemagick (when available) to set the image's width to this value.
When set to a number in a list, try to get the width from any
#+ATTR.* keyword if it matches a width specification like
#+ATTR_HTML: :width 300px
and fall back on that number if none is found.
When set to nil, try to get the width from an #+ATTR.* keyword and fall back on the original width if none is found.
When set to any other non-nil value, always use the image width.
This requires Emacs >= 24.1, built with imagemagick support.
This variable was added, or its default value changed, in Org version
8.0.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-image-actual-width t
"When non-nil, use the actual width of images when inlining them.
When set to a number, use imagemagick (when available) to set the
image's width to this value.
When set to a number in a list, try to get the width from any
#+ATTR.* keyword if it matches a width specification like
#+ATTR_HTML: :width 300px
and fall back on that number if none is found.
When set to nil, try to get the width from an #+ATTR.* keyword
and fall back on the original width if none is found.
When set to any other non-nil value, always use the image width.
This requires Emacs >= 24.1, built with imagemagick support."
:group 'org-appearance
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Use the image width" t)
(integer :tag "Use a number of pixels")
(list :tag "Use #+ATTR* or a number of pixels" (integer))
(const :tag "Use #+ATTR* or don't resize" nil)))