diff options
author | Julio Capote <jcapote@gmail.com> | 2018-11-06 03:03:41 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2018-11-06 03:03:41 +0000 |
commit | 4b489a049a0063bbb1fd9f0c0f74ce1ee9f87a86 (patch) | |
tree | 98af5707e30150af482e297bed9cd4e9b5477e6a /content/post/2011-9-13-render-image-links-directly-inside-adium.markdown | |
parent | a62a3e7755579d93ce3a87243dd277575930fffe (diff) | |
download | capotej.com-4b489a049a0063bbb1fd9f0c0f74ce1ee9f87a86.tar.gz |
import old posts
Diffstat (limited to '')
-rw-r--r-- | content/post/2011-9-13-render-image-links-directly-inside-adium.markdown | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/content/post/2011-9-13-render-image-links-directly-inside-adium.markdown b/content/post/2011-9-13-render-image-links-directly-inside-adium.markdown new file mode 100644 index 0000000..6062e02 --- /dev/null +++ b/content/post/2011-9-13-render-image-links-directly-inside-adium.markdown @@ -0,0 +1,24 @@ +--- +layout: post +title: "Render image links directly inside Adium" +date: 2011-09-13T08:59:00Z +comments: false +permalink: /render-image-links-directly-inside-adium +categories: +--- + + + +Last night I delightfully discovered that Adium Message Styles are just html, css, and javascript rendered inside a webview. The next natural step was to write something in it, so I wrote a Message Style that tries to render any image link directly inline the conversation (campfire style). + +![](/images/blog/adium1.png) + +The code was written at midnight after a long day, so its not best. Basically, it's a setInterval that runs every 2.5 seconds that loops through all message elements, appending an img tag to the body of the message if an image link is detected. It also removes the processing class as to not reprocess the same messages. + +Installation is simple, just download: + +[http://dl.dropbox.com/u/42561/Stockholm.AdiumMessageStyle.zip](http://dl.dropbox.com/u/42561/Stockholm.AdiumMessageStyle.zip) + +and extract into ~/Library/Adium 2.0/Message Styles (create if necessary). Then choose the TOP Stockholm theme (no idea why there are two entries), and close your chat window. It should be activated next time a chat window opens. + +![](/images/blog/adium2.png) |