This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

The Pic Show Plugin is a very simple plugin to creates a page containing a table of all the specified pictures in the attachments.

Syntax: #

Plugin insertion failed: Could not find plugin PicShowPluginPlugin insertion failed: Could not find plugin PicShowPlugin

Parameters#

cols (optional)

Defines the picture amount in one row. Default is all.
height (optional)

Defines the height of each picture. Default is original.
width (optional)

Defines the width of each picture. Default is original.
type (optional)

Specify the type of the pictures. Devided by the comma. Default is 'JPG,PNG,GIF'. (Case unsesitive)
class (optional)

The css class of the table.
style (optional)

The style of the pictures.
showName (optional)

Whether show the file name as the caption under each picture. Default is "false".

Installation:#

Step 1) Add com.newland.jspwiki.plugin to your jspwiki.plugin.searchPath in jspwiki.properties

Step 2) Add the PicShowPlugin.class to your classes using the path com.newland.jspwiki.plugin.

The plugin should now be ready for use.


Further, I will add the auto generate thumbnails feature. PengHui

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
class
PicShowPlugin.class 4.8 kB 2 14-Nov-2006 11:27 penghui
class
Thumb.class 3.0 kB 1 14-Nov-2006 11:28 penghui
jsp
Thumb.jsp 0.1 kB 1 14-Nov-2006 11:28 penghui
jpg
screenshot.JPG 32.8 kB 1 03-Nov-2006 05:59 220.200.1.184
« This particular version was published on 03-Nov-2006 06:31 by penghui.