aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/img.mdwn
blob: 114438765d058a50b0e9a4efaebb19d3926ddc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[!template id=plugin name=img author="Christian Mock"]]
[[!tag type/chrome]]

This plugin provides the [[ikiwiki/directive/img]] [[ikiwiki/directive]].
While ikiwiki supports inlining full-size images by making a
[[ikiwiki/WikiLink]] that points to the image, using this directive you can
easily scale down an image for inclusion onto a page, providing a link to a
full-size version.

This plugin uses the [ImageMagick](http://www.imagemagick.org/) tools via
[PerlMagick](http://www.imagemagick.org/www/perl-magick.html).

Note that this is a stripped down version of Christian Mock's
[[original_img_plugin|contrib/img]].