Project

General

Profile

Inline Images Options » History » Version 42

Per Amundsen, 02/08/2020 12:07 AM

1 4 Per Amundsen
{{>toc}}
2
3 40 Per Amundsen
*+Images are not downloaded through the proxy options unless the "Use proxy" option below is enabled.+*
4 31 Per Amundsen
5 1 Per Amundsen
h1. Inline Images
6
7
Up to 5 links is allowed per message, duplicates in a message are removed.
8
9 30 Per Amundsen
All links are matches against a whitelist of [[Scripting_Wildcards|wildcards]] or [[Scripting_Regex|regular expressions]] when enclosed in a // pattern.
10
11 34 Per Amundsen
_See also [[/inlineimage]]._
12
13 13 Per Amundsen
h2. Use inline images
14 1 Per Amundsen
15 13 Per Amundsen
Enable or disable Inline Images support.
16 1 Per Amundsen
17 13 Per Amundsen
_When the support is disabled, all inline images is removed from all text buffers._
18 1 Per Amundsen
19 13 Per Amundsen
_NB: Windows in the include/exclude list ignores this options._
20 1 Per Amundsen
21 13 Per Amundsen
h2. Use animate gifs
22 1 Per Amundsen
23 13 Per Amundsen
Enable or disable animated gifs support.
24 6 Per Amundsen
25 13 Per Amundsen
_When the support is disabled, all gifs will stop animating and show the first frame as a static image._
26 1 Per Amundsen
27 37 Per Amundsen
h2. Use proxy
28
29
If enabled, the proxy associated with the current server or the global proxy server will be used when downloading images.
30
31 13 Per Amundsen
h2. Max file size
32 1 Per Amundsen
33 13 Per Amundsen
Changes the maximum file/image size to download.
34 6 Per Amundsen
35 13 Per Amundsen
h2. Max file cache size
36 1 Per Amundsen
37 16 Per Amundsen
Sets the maximum size of the cache folder where images are downloaded to, the folder is located in [[$adiircdir]]\Cache\Preview.
38 1 Per Amundsen
39 13 Per Amundsen
AdiIRC will periodically clean the folder to match the max cache size.
40 1 Per Amundsen
41 13 Per Amundsen
h2. Max number of lines
42 1 Per Amundsen
43 13 Per Amundsen
Sets the maximum lines of text using the current font the image can occupy before being resized.
44 1 Per Amundsen
45 13 Per Amundsen
_The images keeps their aspect ration when resized, resizing by width is not supported, so a very wide image could be cut off._
46 1 Per Amundsen
47 42 Per Amundsen
h2. Clear Cache
48
49
Removes all inline images in all windows and deletes all the files in the inline image cache folder.
50
51 17 Per Amundsen
h2. Download from links with matching wildcard/regex patterns
52 1 Per Amundsen
53 13 Per Amundsen
List of allowed patterns to match with links.
54 1 Per Amundsen
55 27 Per Amundsen
_A pattern is considered a regular expression if enclosed with the "/" character, e.g /pattern/._
56
57 13 Per Amundsen
*Wildard Example*
58 1 Per Amundsen
59
<pre>
60 22 Per Amundsen
Matching https://i.imgur.com/6BexrUQ.jpg using various wildcard pattern.
61 13 Per Amundsen
62
https://i.imgur.com/*
63
*i.imgur.com/*
64
*://i.imgur.com/*
65 1 Per Amundsen
</pre>
66
67 13 Per Amundsen
*Regex Example*
68 1 Per Amundsen
69
<pre>
70 22 Per Amundsen
Matching https://i.imgur.com/6BexrUQ.jpg using various regex pattern.
71 13 Per Amundsen
72
/https\:\/\/i\.imgur\.com\/.*/
73
/.*i.*imgur.*com/.*/
74
/.*\:\/\/i\.imgur\.com\/.*/
75 19 Per Amundsen
76 20 Per Amundsen
Matching any image on any hostname using a regex pattern.
77 33 Per Amundsen
/.*\.(?:jpe?g|gif|png|tiff|ico)$/i
78 1 Per Amundsen
</pre>
79
80 21 Per Amundsen
_Patterns are only matching against links already captured by AdiIRC._
81 10 Per Amundsen
82 35 Per Amundsen
h2. Disable inline images for channel/private windows
83 10 Per Amundsen
84 13 Per Amundsen
Channels or users windows excluded from downloading images.
85 10 Per Amundsen
86 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
87 10 Per Amundsen
88 35 Per Amundsen
h2. Always inline images for channel/private windows
89 10 Per Amundsen
90 13 Per Amundsen
Always download images for some channels/users windows.
91 10 Per Amundsen
92 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
93 1 Per Amundsen
94 13 Per Amundsen
_These windows ignores/overrides the "Use inline images" option._
95 1 Per Amundsen
96 36 Per Amundsen
h2. Ignoring images from specific users
97
98
There is a *Inline Images* flag when adding a ignore in [[Options Dialog|Options]] -> [[Ignore Options|Ignore]].