Photo Gallery Module
The Photo Gallery Module displays thumbnails of images attached to the current page, or a specified page name. Click any of the thumbnails to see a larger version and slide show.
Version History
| 1.5 | 2010-05-06 | Support for multiple photo galleries on a single page |
| 1.4 | 2010-05-04 | Fix rendering bug in Webkit browsers |
| 1.3 | 2010-02-24 | Add sliver border to thumbnails; Fix problem rendering multiple thumbnails; Fix problem displaying only one photo in the gallery. |
| 1.2 | 2010-02-04 | Replace image viewer to fix additional formatting bugs & make better use of screen space for larger images. |
| 1.1 | 2009-12-01 | Update to fix formatting bugs |
| 1.0 | 2009-11-05 | Initial Release |
Example
Directions
Using it is simple: just enter the following into the page content of any page with one or more images attached:
[[include:PhotoGallery]]
You can also specify a different page name to show images attached to another page. For example:
[[include:PhotoGallery page=SomeOtherPage]]
By default, the thumbnails will wrap to display however many will fit across. If you want to control the number of thumbnails displayed on each row, include a width parameter. This will show 3 thumbnails on each row:
[[include:PhotoGallery width=3]]
Finally, you can control the size of the thumbnails using the size parameter. By default, thumbnails are sized to fit into a 100px by 100px square. For example, you can specify 250px by 250px thumbnails like this:
[[include:PhotoGallery size=250]]