Project

General

Profile

Inline Images Options » History » Revision 38

Revision 37 (Per Amundsen, 05/03/2019 07:59 PM) → Revision 38/44 (Per Amundsen, 05/03/2019 09:04 PM)

{{>toc}} 

 *+Images are not currently downloaded through the proxy options unless the Use proxy option is enabled.+* options.+* 

 h1. Inline Images 

 Up to 5 links is allowed per message, duplicates in a message are removed. 

 All links are matches against a whitelist of [[Scripting_Wildcards|wildcards]] or [[Scripting_Regex|regular expressions]] when enclosed in a // pattern. 

 _See also [[/inlineimage]]._ 

 h2. Use inline images 

 Enable or disable Inline Images support. 

 _When the support is disabled, all inline images is removed from all text buffers._ 

 _NB: Windows in the include/exclude list ignores this options._ 

 h2. Use animate gifs 

 Enable or disable animated gifs support. 

 _When the support is disabled, all gifs will stop animating and show the first frame as a static image._ 

 h2. Use proxy 

 If enabled, the proxy associated with the current server or the global proxy server will be used when downloading images. 

 h2. Max file size 

 Changes the maximum file/image size to download. 

 h2. Max file cache size 

 Sets the maximum size of the cache folder where images are downloaded to, the folder is located in [[$adiircdir]]\Cache\Preview. 

 AdiIRC will periodically clean the folder to match the max cache size. 

 h2. Max number of lines 

 Sets the maximum lines of text using the current font the image can occupy before being resized. 

 _The images keeps their aspect ration when resized, resizing by width is not supported, so a very wide image could be cut off._ 

 h2. Download from links with matching wildcard/regex patterns 

 List of allowed patterns to match with links. 

 _A pattern is considered a regular expression if enclosed with the "/" character, e.g /pattern/._ 

 *Wildard Example* 

 <pre> 
 Matching https://i.imgur.com/6BexrUQ.jpg using various wildcard pattern. 

 https://i.imgur.com/* 
 *i.imgur.com/* 
 *://i.imgur.com/* 
 </pre> 

 *Regex Example* 

 <pre> 
 Matching https://i.imgur.com/6BexrUQ.jpg using various regex pattern. 

 /https\:\/\/i\.imgur\.com\/.*/ 
 /.*i.*imgur.*com/.*/ 
 /.*\:\/\/i\.imgur\.com\/.*/ 

 Matching any image on any hostname using a regex pattern. 
 /.*\.(?:jpe?g|gif|png|tiff|ico)$/i 
 </pre> 

 _Patterns are only matching against links already captured by AdiIRC._ 

 h2. Disable inline images for channel/private windows 

 Channels or users windows excluded from downloading images. 

 _Per server settings can be added using network:#channel syntax._ 

 h2. Always inline images for channel/private windows 

 Always download images for some channels/users windows. 

 _Per server settings can be added using network:#channel syntax._ 

 _These windows ignores/overrides the "Use inline images" option._ 

 h2. Ignoring images from specific users 

 There is a *Inline Images* flag when adding a ignore in [[Options Dialog|Options]] -> [[Ignore Options|Ignore]]. 

 h2. Feedback 

 It can be useful to keep the [[Rawlog Dialog|Rawlog]] open to see any errors when loading images. 

 Would like to hear how slow/fast loading and painting the images is, and whether cpu usage is acceptable. 

 Since Taskbar memory usage is not accurate at all for .NET programs, the output from the [[/imagecache]] command could be useful to determine memory usage. 

 The /imagecache command also prints the number of images in the cache, it would be useful to know whether it shrinks properly when a window buffer is cleared or the image line is removed in other ways. 

 Information whether everything works as expected without inline images enabled would also be useful. 

 Whether cpu usage goes down when there is no visible animated gifs. 

 Whether all images are inserted in the correct place underneath the link.