Project

General

Profile

Inline Images Options » History » Version 17

Per Amundsen, 05/24/2018 07:37 AM

1 4 Per Amundsen
{{>toc}}
2
3 1 Per Amundsen
h1. Inline Images
4
5 14 Per Amundsen
Experimental support for Inline images was added "in this 64 bit build":https://adiirc.com/build/AdiIRC64.exe and "this 32 bit build":https://adiirc.com/build/AdiIRC.exe.
6 1 Per Amundsen
7
Up to 5 links is allowed per message, duplicates in a message are removed.
8 12 Per Amundsen
9 13 Per Amundsen
All links are matches against a whilelist of wildcards or regular expressions when enclosed in a // pattern.
10 1 Per Amundsen
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 13 Per Amundsen
*Wildard Example*
46 1 Per Amundsen
47
<pre>
48 13 Per Amundsen
Matching https://i.imgur.com/Tb9LSuc.png using various wildcard pattern.
49
50
https://i.imgur.com/*
51
*i.imgur.com/*
52
*://i.imgur.com/*
53 1 Per Amundsen
</pre>
54
55 13 Per Amundsen
*Regex Example*
56 1 Per Amundsen
57
<pre>
58 13 Per Amundsen
Matching https://i.imgur.com/Tb9LSuc.png using various regex pattern.
59
60
/https\:\/\/i\.imgur\.com\/.*/
61
/.*i.*imgur.*com/.*/
62
/.*\:\/\/i\.imgur\.com\/.*/
63 1 Per Amundsen
</pre>
64
65 13 Per Amundsen
_Patterns are only matching against urls already captured by AdiIRC._
66 10 Per Amundsen
67 13 Per Amundsen
h2. Disable inline images for channels/users
68 10 Per Amundsen
69 13 Per Amundsen
Channels or users windows excluded from downloading images.
70 10 Per Amundsen
71 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
72 10 Per Amundsen
73 13 Per Amundsen
h2. Always inline images for channels/users
74 10 Per Amundsen
75 13 Per Amundsen
Always download images for some channels/users windows.
76 10 Per Amundsen
77 13 Per Amundsen
_Per server settings can be added using network:#channel syntax._
78 1 Per Amundsen
79 13 Per Amundsen
_These windows ignores/overrides the "Use inline images" option._
80 1 Per Amundsen
81
h2. Feedback
82 13 Per Amundsen
83
It can be useful to keep the [[Rawlog Dialog|Rawlog]] open to see any errors when loading images.
84 1 Per Amundsen
85
Would like to hear how slow/fast loading and painting the images is, and whether cpu usage is acceptable.
86
87 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.
88 1 Per Amundsen
89
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.
90 5 Per Amundsen
91
Information whether everything works as expected without inline images enabled would also be useful.
92 8 Per Amundsen
93
Whether cpu usage goes down when there is no visible animated gifs.
94
95
Whether all images are inserted in the correct place underneath the link.