Project

General

Profile

Actions

Added in 3.1

/inlineimage <on|off>
/inlineimage [-asiNrcdxn] [window] <file|url>

Inserts a inline image file or url into the specified window text buffer at the Nth line or at the end.

See also Inline Images, $inlineimage.

Switches

Switch Description
-a Insert into the active window.
-s Insert into the associated server window.
-iN Insert at the Nth line in the text buffer.
-r Removes a file or url from a window, if no window is specified, removes from all windows.
-c Clears all files or urls from a window, if no window is specified, clears from all windows.
-d Use default inline images exclude/include settings for the specified window.
-x Exclude inline images for the specified window regardless of global inline images settings.
-n Include inline images for the specified window regardless of global inline images settings.

Parameters

Parameter Description
<on<redpre#0>off> Enables or disables inline images.
[window] Window to insert into.
<file<redpre#1>url> File path or url to insert.

Example

; If a url or file is already cached, the cached image will be used instead.

; Inserts a image from a file into the text area. (the image is copied to the cache folder)
/inlineimage -a C:\Users\user\Pictures\image.jpg

; Inserts a image from a url into the text area. (the image is downloaded to the cache folder)
/inlineimage -a https://i.imgur.com/6BexrUQ.jpg

; Inserts a image from a url into the text area at the 5th line. (the image is downloaded to the cache folder)
/inlineimage -ai5 https://i.imgur.com/6BexrUQ.jpg

; Removes a image from the current window.
; If no window is using the url/file, the cached file will be deleted.
/inlineimage -ar https://i.imgur.com/6BexrUQ.jpg

; Removes a image from all windows.
; If no window is using the url/file, the cached file will be deleted.
/inlineimage -r https://i.imgur.com/6BexrUQ.jpg

Updated by Per Amundsen over 1 year ago · 18 revisions

Also available in: PDF HTML TXT