Function: gnus-article-show-images

gnus-article-show-images is an autoloaded, interactive and byte-compiled function defined in gnus-art.el.gz.

Signature

(gnus-article-show-images)

Documentation

Show any images that are in the HTML-rendered article buffer.

This only works if the article in question is HTML.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defun gnus-article-show-images ()
  "Show any images that are in the HTML-rendered article buffer.
This only works if the article in question is HTML."
  (interactive nil gnus-article-mode gnus-summary-mode)
  ;; Reselect for image display.
  (let ((gnus-blocked-images nil)
        (gnus-inhibit-images nil))
    (gnus-summary-select-article))
  (gnus-with-article-buffer
    (save-restriction
      (widen)
      (if (eq mm-text-html-renderer 'w3m)
	  (progn
	    (require 'w3m)
	    (w3m-toggle-inline-images))
	(dolist (region (gnus-find-text-property-region (point-min) (point-max)
							'image-displayer))
	  (cl-destructuring-bind (start end function) region
	    (funcall function (get-text-property start 'image-url)
		     start end)))))))