AlbumOfSnapsPlugin
This Plugin allows the user to maintain Album on the
twiki website. He/She just needs to upload the compressed
.tgz/.zip file of directory containing images.
Usage Rules
- Various Album directories will be shown on the page using the plugin by specifying %-ALBUMOFSNAPS_PLUGIN% or %-ALBUMOFSNAPS{web="WebName" topic="TopicName"}% (if any of the argument is not specified by default it gets the argument value from the current web or topic. [Note : ignore hyphen '-' before the plugin name when using in your page]
- Clicking on the Album Directory will displays thumbnail view of images in that gallery 20 at a time. If there are more images it can be seen by going to next page.We can go to previous and next page by clicking on the links ,Or to list of Albums by clicking on up arrow.
- After Clicking on the images from the thumbnail view , Whole image is displayed along with the number of times it is seen.We can go to next or previous image by clicking on next and previous links. Or go to thumbnail view by clickin on up Arrow.
- FOR UPLOADING SNAPS. Store the snaps in some directory containing only image files (Set the permissions to 755 at least ) Then zip or tarzip it to (same name as directory ).zip/.tgz file. These files should be uploaded to the page where plugin is called by specifying the plugin tag , and don't upload any other files to that page other than image files.
Examples
- %-ALBUMOFSNAPS_PLUGIN% will display the Albums in the topic directory
- %-ALBUMOFSNAPS_PLUGIN{web="AnyWeb" topic="AnyName"}% will displays the Albums present in specified web and topic [Note : ignore hyphen '-' before the plugin name when using in your page]
Plugin Settings
Plugin settings are stored as preferences variables. To reference a plugin setting write
%<plugin>_<setting>%, i.e.
%INTERWIKIPLUGIN_SHORTDESCRIPTION%
- One line description, shown in the TextFormattingRules topic:
- Set SHORTDESCRIPTION = Create albums by uploading zip files
- Debug plugin: (See output in
data/debug.txt) set it to (0 or 1)
Plugin Installation Instructions
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.
- Download the ZIP file from the Plugin web (see below)
- Unzip
AlbumOfSnapsPlugin.zip in your twiki installation directory. Content: | File: | Description: |
data/TWiki/AlbumOfSnapsPlugin.txt | Plugin topic |
data/TWiki/AlbumOfSnapsPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/AlbumOfSnapsPlugin.pm | Plugin Perl module |
lib/TWiki/Plugins/AlbumOfSnapsPluginImages | Images used by Plugin |
bin/AlbumOfSnapsScript | Plugin Perl module |
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins
--
TWiki:Main/AshishNaval
- 2 Nov 2004