Photo Album Macro
Version 17.1 by Thomas Mortagne on 2011/10/28 09:25
Display all image attachments with the ~{~{gallery~}~} macro and show thumbnails of the images |
Type | XAR |
Category | |
Developed by | Bernhard Hopf |
Rating | |
License | GNU Lesser General Public License 2.1 |
Description
this macro displays all image attachments with the {{gallery}} macro as slide-show and shows thumbnails of the images. By clicking on the thumbnail the original image is displayed.
Usage
You only have to attach images to a wiki document and place the macro {{photoalbum/}} where you want on the page. All attachments which are images are displayed as slideshow and thumbnails. You can change the size of the image and the size of the thumbnails which affects the download time if you have images with high resolution or slow internet connection. You can customize the look by passing parameters to the macro.
Parameters
Parametername | Description | Defaultvalue |
---|---|---|
ThumbSizeList | List of selectable thumbnail sizes seperated by space. Use - to disable the change of thumbnail size. | 50 100 200 300 |
ImageSizeList | List of selectable image sizes seperated by space. Use value "original" to use the original uploaded image without resizing. Use - to disable the change of image size. | 400 600 800 1000 1920 original |
DefaultThumbSize | Initial thumbnail size. | 200 |
DefaultImageSize | Initial image size. | 800 |
Samples
{{photoalbum DefaultImageSize="800" ImageSizeList="-" /}} | Show images with specified size and disable change of image size. |
{{photoalbum ImageSizeList="-" ThumbSizeList="-" /}} | Disable change of image and thumbnail size. No input fields are displayed. |
{{photoalbum ImageSizeList="800 original" ThumbSizeList="100 200" DefaultImageSize="800" DefaultThumbSize="100" /}} | All default values are overwritten with own values |
Prerequisites & Installation Instructions
Then visit the Macros.PhotoAlbum page.