PhotoarchivePlugin is a nice plugin to show your photo archive or album in different views. You can add a description to each picture and define the picture size for individual views.
These are the rules to add a Photoarchive to your twiki web.
%PHOTOARCHIVEPLUGIN%
to a twiki topic or
%PHOTOARCHIVEPLUGINRANDOM%
for single random image including.
<PA_IMAGE>
IMAGEFILENAME
</PA_IMAGE>
<PA_HEADER>
SHORT IMAGE DESCRIPTION
</PA_HEADER>
<PA_DESCRIPTION>
LONGER DESCRIPTION FOR THIS IMAGE
</PA_DESCRIPTION>
<PA_IMAGE>
NEXT IMAGEFILENAME
</PA_IMAGE>
... etc.
%PHOTOARCHIVEPLUGIN%
or %PHOTOARCHIVEPLUGINRANDOM%
placeholder. To use overwriting from topics you have to add PhotoarchivePlugin_
in front of each settingname. E.g. instead RANDOMWIDTH
you have to use PhotoarchivePlugin_RANDOMWIDTH
<PA_IMAGE>
image_001.jpg
</PA_IMAGE>
<PA_HEADER>
My first image in Photoarchive
</PA_HEADER>
<PA_DESCRIPTION>
This is my first image which is shown by PhotoarchivePlugin.
It has no special purpose but you can see how it works.
</PA_DESCRIPTION>
Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%
, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
data/debug.txt
)
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
PhotoarchivePlugin.zip
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/PhotoarchivePlugin.txt | Plugin topic |
data/TWiki/PhotoarchivePlugin.txt,v | Plugin topic repository |
data/TWiki/PhotoarchivePluginPhotoarchive.txt | Plugin test photoarchive topic |
data/TWiki/PhotoarchivePluginPhotoarchive.txt,v | Plugin test photoarchive topic repository |
data/TWiki/PhotoarchivePluginPhotoarchive/testimage.jpg | Attached test image |
data/TWiki/PhotoarchivePluginPhotoarchive/testimage.jpg,v | Attached test image repository |
pub/TWiki/PhotoarchivePlugin | Directory for future plugin internal data (empty) |
lib/TWiki/Plugins/PhotoarchivePlugin.pm | Plugin Perl module |
configure
in your TWiki installation, and enable the plugin in the {Plugins} section.
%PHOTOARCHIVEPLUGINRANDOM%
Plugin Author: | TWiki:Main/MarkusKolb |
Plugin Version: | 31 Oct 2006 (V1.004) |
Plugin Id: | $Id: PhotoarchivePlugin.txt 13352 2007-04-10 21:35:55Z SteffenPoulsen? $ |
Change History: | |
31 Oct 2006: | V1.004 updated this plugin info for new version |
31 Oct 2006: | V1.003 fix quote image filename bug (Thanks to Michael Okincha for bug report) |
30 Sep 2004: | V1.002 overwriting of plugin preferences in topic now possible |
29 Sep 2004: | V1.001 patch against Internet Explorer <img>-tag incompatibility |
29 Sep 2004: | Initial version |
TWiki Dependency: | $TWiki::Plugins::VERSION 1.024 |
CPAN Dependencies: | none |
Other Dependencies: | netpbm |
Perl Version: | 5.005 |
TWiki:Plugins/Benchmark: | GoodStyle 98%, FormattedSearch 96%, PhotoarchivePlugin 96% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/PhotoarchivePlugin |
Feedback: | mailto:twiki-photoarchive@tower-netREMOVE_BEFORE_SEND.de |
Related Topics: TWikiPreferences, TWikiPlugins
-- MarkusKolb? - 31 Oct 2006