Inline Images Options » History » Revision 42
Revision 41 (Per Amundsen, 07/03/2019 09:57 AM) → Revision 42/44 (Per Amundsen, 02/08/2020 12:07 AM)
{{>toc}}
*+Images are not downloaded through the proxy options unless the "Use proxy" option below is enabled.+*
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. Clear Cache
Removes all inline images in all windows and deletes all the files in the inline image cache folder.
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]].