Photo Album Macro

Version 15.1 by Thomas Mortagne on 2011/10/27 18:12

cogDisplay all image attachments with the ~{~{gallery~}~} macro and show thumbnails of the images
Typewikimacro
Category
Developed by

Bernhard Hopf

Rating
0 Votes
LicenseUnknown

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.

photoalbumsample.jpg

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

All parameters are optional!

ParameternameDescriptionDefaultvalue
ThumbSizeListList of selectable thumbnail sizes seperated by space. Use - to disable the change of thumbnail size.50 100 200 300
ImageSizeListList 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
DefaultThumbSizeInitial thumbnail size.200
DefaultImageSizeInitial 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.

Get Connected