Fwd: [Plugin dev]Inserting images

Michael Vogel just.another.michaelv at gmail.com
Wed Mar 26 04:39:33 EDT 2014


Hello everybody,

I'm writing a plugin to allow image urls to be replaced by the image they
target e.g

http://i.imgur.com/TuptzlN.jpg --> <img href="http://i.imgur.com/TuptzlN.jpg"
/>

Here's a gist <https://gist.github.com/LoveIsGrief/9745882> (please bear
with me, I just started plugin dev and switched from C++ to C yesterday).

That however doesn't work as the img tags are being ignored. I also tried
using a base64 encoded image to no avail.
Could someone tell me how images are inserted into the chat window /
conversation?

Cheers,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pidgin.im/pipermail/devel/attachments/20140326/fc0c90a9/attachment.html>


More information about the Devel mailing list