Variable: shr-image-zoom-levels
shr-image-zoom-levels is a customizable variable defined in shr.el.gz.
Value
(fit original fill-height)
Documentation
A list of image zoom levels to cycle through with shr-zoom-image.
The first element in the list is the initial zoom level. Each element can be one of the following symbols:
* fit: Display the image at its original size as requested by the
page, shrinking it to fit in the current window if necessary.
* original: Display the image at its original size as requested by the
page.
* image: Display the image at its full size (ignoring the width/height
specified by the HTML).
* fill-height: Display the image zoomed to fill the height of the
current window.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defcustom shr-image-zoom-levels '(fit original fill-height)
"A list of image zoom levels to cycle through with `shr-zoom-image'.
The first element in the list is the initial zoom level. Each element
can be one of the following symbols:
* `fit': Display the image at its original size as requested by the
page, shrinking it to fit in the current window if necessary.
* `original': Display the image at its original size as requested by the
page.
* `image': Display the image at its full size (ignoring the width/height
specified by the HTML).
* `fill-height': Display the image zoomed to fill the height of the
current window."
:version "31.1"
:type '(set (const :tag "Fit to window size" fit)
(const :tag "Original size" original)
(const :tag "Full image size" image)
(const :tag "Fill window height" fill-height)))