Well, what about displaying images?
This is also supported, albeight with few options, in CSE_Display. The generation is fully automated, just pointing to a folder is enough. The most interesting feature is that you can point to a folder containing other folders - 'chapters' - that contain themselves the pictures (or more folders). The gallery allows to switch between chapters automatically. There is no set limit to the depth of the gallery.
The gallery generator also generates thumbnails assuming GD is installed on your PHP configuration. The system is however primitive in the sense that it will generate all thumbnails if the subfolder "tn" does not exist, and none otherwise. It will not die if GD is not installed. In this case, you have to provide the thumbnails, in a "tn" subfolder.
Note: the gallery is outputted after the basic Body records, but before extra body layers...
Namibia 2008: 01.Windhoek-Etosha [Back] Going north... passing by the Watergerb national park, and visiting Etosha. An incredible richness of animal life - from the white rhino to the lion, from the girafe to the Springbock. | ||
04.Giraffe.JPG | 05.Onyx_Buffle.JPG | 06.OnTheRoad.JPG |
07.ElephantSpringbockZebra.JPG | 08.OnTheRoadAgain.JPG |
The source code for the gallery:
<?php
$myHTML->registerGallery("Namibia2008","Namibia 2008");
// because we have chapters, not necessary if only 1 folder containing pictures:
$myHTML->gallery->setMainPage(basename(__FILE__));
?>