]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/img/discussion.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / doc / plugins / contrib / img / discussion.mdwn
index c72752cf11a70859936af3fa69a405b662c5fff2..ea4ccb042bdd7e3b2f1faefcede8fb21c6b7fb31 100644 (file)
@@ -10,18 +10,18 @@ differently scaled versions of the image, why not just create three pages
 and use the plugin once per page? Something like this on the first one if
 it's got multiple clickable thumbnails:
 
-       \[[img foo.jpg width=256 link=page2]]
+       \[[!img foo.jpg width=256 link=page2]]
 
 This on the second:
 
-       \[[img foo.jpg width=1024 link=page3]]
+       \[[!img foo.jpg width=1024 link=page3]]
        \[[small|page1]]
        \[[medium|page2]]
        \[[large|page3]]
 
 This on the third:
        
-       \[[img foo.jpg link=page3]]
+       \[[!img foo.jpg link=page3]]
        \[[small|page1]]
        \[[medium|page2]]
        \[[large|parge3]]
@@ -43,9 +43,9 @@ Benefits of not scaling:
 1. Avoids any security issues with imagemagick.
 2. Avoids issue of how to clean up old scaled images that are no longer being
    used. (Granted, this is a general ikiwiki problem that will eventually
-   be fixed in a general way.)
+   be fixed in a general way. (Update: now fixed in a general way, use the
+   will_render function.))
 3. Makes clicking on thumbnails display the full version really fast, since
    it's cached. :-)
 
-
 --[[Joey]]