Function: org-toggle-inline-images

org-toggle-inline-images is an interactive and byte-compiled function defined in org-compat.el.

This command is obsolete since 9.8; use org-link-preview instead.

Signature

(org-toggle-inline-images &optional INCLUDE-LINKED BEG END)

Documentation

Toggle the display of inline images.

INCLUDE-LINKED is passed to org-display-inline-images.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-compat.el
;; FIXME: Unused; obsoleted; to be removed
(defun org-toggle-inline-images (&optional include-linked beg end)
  "Toggle the display of inline images.
INCLUDE-LINKED is passed to `org-display-inline-images'."
  (interactive "P")
  (if (org-link-preview--get-overlays beg end)
      (progn
        (org-link-preview-clear beg end)
        (when (called-interactively-p 'interactive)
	  (message "Inline image display turned off")))
    (org-link-preview-region include-linked nil beg end)
    (when (called-interactively-p 'interactive)
      (let ((new (org-link-preview--get-overlays beg end)))
        (message (if new
		     (format "%d images displayed inline"
			     (length new))
		   "No images to display inline"))))))