Project

General

Profile

Inline Images Options » History » Version 43

Per Amundsen, 02/20/2022 07:17 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 43 Per Amundsen
h2. Use temp folder
52
53
Use the windows temp folder as cache folder instead of a custom folder.
54
55 17 Per Amundsen
h2. Download from links with matching wildcard/regex patterns
56 1 Per Amundsen
57 13 Per Amundsen
List of allowed patterns to match with links.
58 1 Per Amundsen
59 27 Per Amundsen
_A pattern is considered a regular expression if enclosed with the "/" character, e.g /pattern/._
60
61 13 Per Amundsen
*Wildard Example*
62 1 Per Amundsen
63
<pre>
64 22 Per Amundsen
Matching https://i.imgur.com/6BexrUQ.jpg using various wildcard pattern.
65 13 Per Amundsen
66
https://i.imgur.com/*
67
*i.imgur.com/*
68
*://i.imgur.com/*
69 1 Per Amundsen
</pre>
70
71 13 Per Amundsen
*Regex Example*
72 1 Per Amundsen
73
<pre>
74 22 Per Amundsen
Matching https://i.imgur.com/6BexrUQ.jpg using various regex pattern.
75 13 Per Amundsen
76
/https\:\/\/i\.imgur\.com\/.*/
77
/.*i.*imgur.*com/.*/
78
/.*\:\/\/i\.imgur\.com\/.*/
79 19 Per Amundsen
80 20 Per Amundsen
Matching any image on any hostname using a regex pattern.
81 33 Per Amundsen
/.*\.(?:jpe?g|gif|png|tiff|ico)$/i
82 1 Per Amundsen
</pre>
83
84 21 Per Amundsen
_Patterns are only matching against links already captured by AdiIRC._
85 10 Per Amundsen
86 35 Per Amundsen
h2. Disable inline images for channel/private windows
87 10 Per Amundsen
88 13 Per Amundsen
Channels or users windows excluded from downloading images.
89 10 Per Amundsen
90 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
91 10 Per Amundsen
92 35 Per Amundsen
h2. Always inline images for channel/private windows
93 10 Per Amundsen
94 13 Per Amundsen
Always download images for some channels/users windows.
95 10 Per Amundsen
96 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
97 1 Per Amundsen
98 13 Per Amundsen
_These windows ignores/overrides the "Use inline images" option._
99 1 Per Amundsen
100 36 Per Amundsen
h2. Ignoring images from specific users
101
102
There is a *Inline Images* flag when adding a ignore in [[Options Dialog|Options]] -> [[Ignore Options|Ignore]].