RGallery
This action/handler combination gives the ability to fairly easily create image galleries in a Wikka installation.
Installation
RGallery uses two SQL tables, these are created by using the install feature in the rgallery handler. The following steps should work.
- Go to any existing wiki page, HomePage, for example.
- If you are using rewriting then add /rgallery?rgal_action=install to the URL and load the page.
- Otherwise, add /rgallery&rgal_action=install and load the page.
If everything went well, you can now use RGallery.
Download
The action and handler related to this plugin is currently only available in a
Darcs∞ repository. It is possible to
browse it∞ using a regular web browser though. To retrieve the code using Darcs, run the following command.
darcs get http://rycee.net/repos/rgallery/
Action Options
- id - IDs of images to show. Separate by comma.
- keyword - Keywords of images to show. Special values: "%pagetag%", "%phrase%".
- size - The length of the largest side of the image. Resizing is done automatically.
- col - Number of columns per row.
- perpage - Number of images per page.
- caption - Image caption. Special value: "fromdb".
- linkto - Image link location. Special values: "full", "imagepage", "none".
- class - CSS class used.
Examples
The easiest case is when using only the default values, which are specified in the
rgallery.config.php file.
To show a single image floating to the right it's possible to use something like the following. Assuming the image id is five.
{{RGallery id="5" class="rgal_floatr"}}
CategoryComputing