Project

General

Profile

Inline Images Options » History » Version 36

Per Amundsen, 08/26/2018 05:36 PM

1 4 Per Amundsen
{{>toc}}
2
3 32 Per Amundsen
*+Images are not currently downloaded through the proxy options.+*
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 13 Per Amundsen
h2. Max file size
28 1 Per Amundsen
29 13 Per Amundsen
Changes the maximum file/image size to download.
30 6 Per Amundsen
31 13 Per Amundsen
h2. Max file cache size
32 1 Per Amundsen
33 16 Per Amundsen
Sets the maximum size of the cache folder where images are downloaded to, the folder is located in [[$adiircdir]]\Cache\Preview.
34 1 Per Amundsen
35 13 Per Amundsen
AdiIRC will periodically clean the folder to match the max cache size.
36 1 Per Amundsen
37 13 Per Amundsen
h2. Max number of lines
38 1 Per Amundsen
39 13 Per Amundsen
Sets the maximum lines of text using the current font the image can occupy before being resized.
40 1 Per Amundsen
41 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._
42 1 Per Amundsen
43 17 Per Amundsen
h2. Download from links with matching wildcard/regex patterns
44 1 Per Amundsen
45 13 Per Amundsen
List of allowed patterns to match with links.
46 1 Per Amundsen
47 27 Per Amundsen
_A pattern is considered a regular expression if enclosed with the "/" character, e.g /pattern/._
48
49 13 Per Amundsen
*Wildard Example*
50 1 Per Amundsen
51
<pre>
52 22 Per Amundsen
Matching https://i.imgur.com/6BexrUQ.jpg using various wildcard pattern.
53 13 Per Amundsen
54
https://i.imgur.com/*
55
*i.imgur.com/*
56
*://i.imgur.com/*
57 1 Per Amundsen
</pre>
58
59 13 Per Amundsen
*Regex Example*
60 1 Per Amundsen
61
<pre>
62 22 Per Amundsen
Matching https://i.imgur.com/6BexrUQ.jpg using various regex pattern.
63 13 Per Amundsen
64
/https\:\/\/i\.imgur\.com\/.*/
65
/.*i.*imgur.*com/.*/
66
/.*\:\/\/i\.imgur\.com\/.*/
67 19 Per Amundsen
68 20 Per Amundsen
Matching any image on any hostname using a regex pattern.
69 33 Per Amundsen
/.*\.(?:jpe?g|gif|png|tiff|ico)$/i
70 1 Per Amundsen
</pre>
71
72 21 Per Amundsen
_Patterns are only matching against links already captured by AdiIRC._
73 10 Per Amundsen
74 35 Per Amundsen
h2. Disable inline images for channel/private windows
75 10 Per Amundsen
76 13 Per Amundsen
Channels or users windows excluded from downloading images.
77 10 Per Amundsen
78 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
79 10 Per Amundsen
80 35 Per Amundsen
h2. Always inline images for channel/private windows
81 10 Per Amundsen
82 13 Per Amundsen
Always download images for some channels/users windows.
83 10 Per Amundsen
84 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
85 1 Per Amundsen
86 13 Per Amundsen
_These windows ignores/overrides the "Use inline images" option._
87 1 Per Amundsen
88 36 Per Amundsen
h2. Ignoring images from specific users
89
90
There is a *Inline Images* flag when adding a ignore in [[Options Dialog|Options]] -> [[Ignore Options|Ignore]].
91
92 1 Per Amundsen
h2. Feedback
93 13 Per Amundsen
94
It can be useful to keep the [[Rawlog Dialog|Rawlog]] open to see any errors when loading images.
95 1 Per Amundsen
96
Would like to hear how slow/fast loading and painting the images is, and whether cpu usage is acceptable.
97
98 2 Per Amundsen
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.
99 1 Per Amundsen
100
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.
101 5 Per Amundsen
102
Information whether everything works as expected without inline images enabled would also be useful.
103 8 Per Amundsen
104
Whether cpu usage goes down when there is no visible animated gifs.
105
106
Whether all images are inserted in the correct place underneath the link.