[ '[all]' S ]? [ 'image'|'thumbnail'|'box'|'unset' ]?
This command changes the way images are displayed in the styled view.
[all] is specified, the command acts on the styled view, that is, on all the images found in the styled view. Otherwise, the command acts on the explicitly selected element, when this element is styled using
content: image-viewport( (Section 29, “image-viewport” in ).
Display the image normally, that is, possibly scaled if this has been specified using attributes such as
Show the bounding box of the (possibly scaled) image and, if there is enough room in this rectangle, also show a thumbnail (at most 128x128 pixels large).
Show the bounding box of the (possibly scaled) image.
Note that options
box have no effect on images having an intrinsic size smaller than 32x32 pixels. Such small images are always displayed normally.
Discard the current display mode.
In fact, this command changes the display mode of the selected image viewport.
Discarding the mode which is specific to an image viewport means that this viewport will have to use the mode which is specific to the styled view containing it (previously specified using Display Images in or using this command with the
If this styled view has no specific mode, then the viewport will have to fallback to the application-wide display mode (previously specified using Display images in ).
Without any argument, this command simply updates the view of the selected image. This is useful if, for example, the image file has changed on the disk.
setImageMode setImageMode box setImageMode unset setImageMode [all] thumbnails setImageMode [all] image setImageMode [all] unset