Project

General

Profile

Inline Images Options » History » Revision 23

Revision 22 (Per Amundsen, 05/24/2018 09:57 AM) → Revision 23/44 (Per Amundsen, 05/24/2018 10:02 AM)

{{>toc}} 

 h1. Inline Images 

 Support for Inline images was added "in this 64 bit build":https://adiirc.com/build/AdiIRC64.exe and "this 32 bit build":https://adiirc.com/build/AdiIRC.exe. 

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

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

 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. 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. 

 *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)$/ 
 </pre> 

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

 h2. Disable inline images for channels/users 

 Channels or users windows excluded from downloading images. 

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

 h2. Always inline images for channels/users 

 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. 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.