Project

General

Profile

Inline Images Options » History » Version 32

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