Project

General

Profile

Inlineimage » History » Revision 6

Revision 5 (Per Amundsen, 05/28/2018 04:53 AM) → Revision 6/18 (Per Amundsen, 07/07/2018 10:19 AM)

_Added in 3.1_ 

 */inlineimage [-asiN] [window] <file|url>* 

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

 _See also [[Inline Images Options|Inline Images]]._ 

 *Switches* 

 -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 windows is specified, removes from all windows. 

 *Parameters* 

 [window] - Window to insert into. 
 <file|url> - File path or url to insert. 

 *Example* 

 <pre> 
 ; 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 

 ; 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 
 </pre>