History: PluginThumb
Preview of version: 14
THUMB Wiki Plugin
That plugin is useful to include images in wiki pages without disturbing the flow of the text too much. It's an autonomous plugin, you should be able to use it with any version of Tiki (at least since 1.6). If you want to use it in an old version just copy the file in lib/wiki-plugins/
{CVS(file=>lib/wiki-plugins/wikiplugin_thumb.php)}lib/wiki-plugins/wikiplugin_thumb.php{CVS}
Syntax
Copy to clipboard
{THUMB(image=>img/wiki_up/tetamose.jpg,max=>42,float=>left)}{THUMB}
will be transformed in the following thumbnail. Pass your mouse over the thumbnail to get a frame/popup/thing with the full sized image.
Parameters
- Mandatory
- image : the local path to the image file (won't work with remote files)
- Optional
- max : indicate the max width or height (whichever is higher) for the thumbnail (defualt 84)
- float : none (default), left or right to make the text run around the thumbnail if wanted
- data : it's the special plugin parameter to name what is betwwen the tags. If text is included there, it will be printed over the image. That can be weird, but fun.
Suggestions
- hide the zoomed image onclick instead of onmouseout to allow moving and exploring the whole image in a browser's viewport
- put a link to the original image for non-javascript enabled browsers
- a parameter to clear the border of the image
- a parameter to inform the size of the original image when put the mouse over the thumbnail