Inlineimage » History » Version 18
Per Amundsen, 02/16/2023 12:51 PM
| 1 | 1 | Per Amundsen | _Added in 3.1_ |
|---|---|---|---|
| 2 | |||
| 3 | 15 | Per Amundsen | */inlineimage <on|off>* |
| 4 | 14 | Per Amundsen | */inlineimage [-asiNrcdxn] [window] <file|url>* |
| 5 | 1 | Per Amundsen | |
| 6 | 11 | Per Amundsen | Inserts a inline image file or url into the specified window text buffer at the Nth line or at the end. |
| 7 | 1 | Per Amundsen | |
| 8 | 17 | Per Amundsen | _See also [[Inline Images Options|Inline Images]], [[$inlineimage]]._ |
| 9 | 2 | Per Amundsen | |
| 10 | 1 | Per Amundsen | *Switches* |
| 11 | |||
| 12 | 18 | Per Amundsen | table(ktable). |
| 13 | |*Switch*|*Description*| |
||
| 14 | | -a | Insert into the active window. | |
||
| 15 | | -s | Insert into the associated server window. | |
||
| 16 | | -iN | Insert at the Nth line in the text buffer. | |
||
| 17 | | -r | Removes a file or url from a window, if no window is specified, removes from all windows. | |
||
| 18 | | -c | Clears all files or urls from a window, if no window is specified, clears from all windows. | |
||
| 19 | | -d | Use default inline images exclude/include settings for the specified window. | |
||
| 20 | | -x | Exclude inline images for the specified window regardless of global inline images settings. | |
||
| 21 | | -n | Include inline images for the specified window regardless of global inline images settings. | |
||
| 22 | 14 | Per Amundsen | |
| 23 | *Parameters* |
||
| 24 | 1 | Per Amundsen | |
| 25 | 18 | Per Amundsen | table(ktable). |
| 26 | |*Parameter*|*Description*| |
||
| 27 | | <on<notextile>|</notextile>off> | Enables or disables inline images. | |
||
| 28 | | [window] | Window to insert into. | |
||
| 29 | | <file<notextile>|</notextile>url> | File path or url to insert. | |
||
| 30 | 1 | Per Amundsen | |
| 31 | *Example* |
||
| 32 | |||
| 33 | <pre> |
||
| 34 | 3 | Per Amundsen | ; If a url or file is already cached, the cached image will be used instead. |
| 35 | |||
| 36 | 1 | Per Amundsen | ; Inserts a image from a file into the text area. (the image is copied to the cache folder) |
| 37 | /inlineimage -a C:\Users\user\Pictures\image.jpg |
||
| 38 | |||
| 39 | 4 | Per Amundsen | ; Inserts a image from a url into the text area. (the image is downloaded to the cache folder) |
| 40 | 1 | Per Amundsen | /inlineimage -a https://i.imgur.com/6BexrUQ.jpg |
| 41 | 6 | Per Amundsen | |
| 42 | 12 | Per Amundsen | ; Inserts a image from a url into the text area at the 5th line. (the image is downloaded to the cache folder) |
| 43 | /inlineimage -ai5 https://i.imgur.com/6BexrUQ.jpg |
||
| 44 | |||
| 45 | 6 | Per Amundsen | ; Removes a image from the current window. |
| 46 | 7 | Per Amundsen | ; If no window is using the url/file, the cached file will be deleted. |
| 47 | 6 | Per Amundsen | /inlineimage -ar https://i.imgur.com/6BexrUQ.jpg |
| 48 | |||
| 49 | 9 | Per Amundsen | ; Removes a image from all windows. |
| 50 | 7 | Per Amundsen | ; If no window is using the url/file, the cached file will be deleted. |
| 51 | 6 | Per Amundsen | /inlineimage -r https://i.imgur.com/6BexrUQ.jpg |
| 52 | 1 | Per Amundsen | </pre> |