From 16c9241caabe98ba80a62feafdc7ab869b71cc26 Mon Sep 17 00:00:00 2001 From: spalax Date: Sat, 20 Jun 2015 15:16:36 -0400 Subject: [PATCH] New plugin: rimg --- doc/plugins/contrib/rimg.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/plugins/contrib/rimg.mdwn diff --git a/doc/plugins/contrib/rimg.mdwn b/doc/plugins/contrib/rimg.mdwn new file mode 100644 index 000000000..59d87cf67 --- /dev/null +++ b/doc/plugins/contrib/rimg.mdwn @@ -0,0 +1,15 @@ +[[!meta author="spalax"]] +[[!template id=plugin name=rimg author="[[Louis|spalax]]"]] +[[!tag type/widget]] + +This plugin provides the ``rimg`` [[ikiwiki/directive]]. +While ikiwiki supports including images by using the +[[ikiwiki/directive/img]] directive, those images must +be present in the wiki. This plugins allows to include remote images by giving +their URL. + +For instance, the following directive displays the Ikiwiki favicon: + + \[[!rimg http://ikiwiki.info/favicon.ico alt="Favicon" caption="IkiWiki favicon" link="http://ikiwiki.info"]] + +Note that this is a stripped down version of [[the img plugin|http://ikiwiki.info/plugins/img]]. -- 2.39.2