X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/62a22bf5417a89a618f9a3197f05efe7a8e002ca..c59d9c64a3d8de6ea926953fe5298d6d9b4e1531:/doc/plugins/contrib/img/discussion.mdwn diff --git a/doc/plugins/contrib/img/discussion.mdwn b/doc/plugins/contrib/img/discussion.mdwn index c72752cf1..ea4ccb042 100644 --- a/doc/plugins/contrib/img/discussion.mdwn +++ b/doc/plugins/contrib/img/discussion.mdwn @@ -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]]