http://www.screwturn.eu/PageEditing.ash ... Redirect=1
Basically it describes a method that I use to allow Screwturn wiki to display thumbnail images by using a simple parameterized snippet. The snippet will automatically point the thumbnail to the larger source image. The link above provides much more in-depth information.
Here are the basics:
1. Create a snippet with the following code:
- Code: Select all
[image?1?|?2?|getthumb.aspx?image=?3?&big=?4?|{UP}?3?]
2. Now use reference the snippet this way in your pages:
- Code: Select all
{s:snippetname|alignment|title|filename|sizeflag}
Where:
- "snippetname" = the name of your snippet.
"alignment" = "left", "right", or "auto"
"title" = the title of your image.
"filename" = the name of the file in your upload directory (do NOT use the {UP} prefix!!!)
"sizeflag" = "0" for smaller thumbnail, "1" for larger thumbnail
You can also see an live example of how this technique works here:
http://www.saveatclose.com/all/wiki/gfe.ashx
john
