Project

General

Profile

Inlineimage » History » Version 6

Per Amundsen, 07/07/2018 10:19 AM

1 1 Per Amundsen
_Added in 3.1_
2
3
*/inlineimage [-asiN] [window] <file|url>*
4
5 5 Per Amundsen
Inserts a inline image file or url into the specified window at the Nth line or at the end.
6 1 Per Amundsen
7 2 Per Amundsen
_See also [[Inline Images Options|Inline Images]]._
8
9 1 Per Amundsen
*Switches*
10
11
-a - Insert into the active window.
12
-s - Insert into the associated server window.
13
-iN - Insert at the Nth line in the text buffer.
14 6 Per Amundsen
-r - Removes a file or url from a window, if no windows is specified, removes from all windows.
15 1 Per Amundsen
16
*Parameters*
17
18
[window] - Window to insert into.
19
<file|url> - File path or url to insert.
20
21
*Example*
22
23
<pre>
24 3 Per Amundsen
; If a url or file is already cached, the cached image will be used instead.
25
26 1 Per Amundsen
; Inserts a image from a file into the text area. (the image is copied to the cache folder)
27
/inlineimage -a C:\Users\user\Pictures\image.jpg
28
29 4 Per Amundsen
; Inserts a image from a url into the text area. (the image is downloaded to the cache folder)
30 1 Per Amundsen
/inlineimage -a https://i.imgur.com/6BexrUQ.jpg
31 6 Per Amundsen
32
; Removes a image from the current window.
33
; If no window is using the url/file, the cached file will be deleted
34
/inlineimage -ar https://i.imgur.com/6BexrUQ.jpg
35
36
; Removes a image from all windows
37
; If no window is using the url/file, the cached file will be deleted
38
/inlineimage -r https://i.imgur.com/6BexrUQ.jpg
39 1 Per Amundsen
</pre>