]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/img.mdwn
web commit by JoshTriplett: Add another example, and add a description to each test.
[ikiwiki.git] / doc / plugins / img.mdwn
index 324d46cc55d6f21cf09aeafa5fb6f166b1dfb114..bbeb2a9f3fc4bb7f0e39fc14f86380d015c1d4e8 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=img included=1 author="Christian Mock" ]]
+[[template id=plugin name=img author="Christian Mock"]]
 [[tag type/chrome]]
 
 This is an image handling plugin. While ikiwiki supports inlining full-size
@@ -28,3 +28,7 @@ the page, unless overridden. Useful when including many images on a page.
        \[[img photo1.jpg]]
        \[[img photo2.jpg]]
        \[[img photo3.jpg size=200x600]]
+
+You can also reference an image in /images like this:
+
+       \[[img /images/photo3.jpg size=200x600]]