From: spalax Date: Sat, 20 Jun 2015 19:16:36 +0000 (-0400) Subject: New plugin: rimg X-Git-Tag: 3.20160121~159 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/16c9241caabe98ba80a62feafdc7ab869b71cc26 New plugin: rimg --- 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]].