aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/img.mdwn
blob: 9eadb650ace8a4b8503a37a618d32c9772199573 (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/widget]]

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/script/perl-magick.php).

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