Skip to content
sensorario edited this page Sep 21, 2011 · 3 revisions

If you put more images in the same group, you can just show the first one and hide the others. The others must have the same group name. By default, all images stay in "_" group. If you want, you can specify it: widget('ext.lyiightbox.LyiightBox2', array( 'smallest' => '/path/to/thuimb/images.jpg', 'biggest' => '/path/to/biggest/image.jpg', 'title' => 'Sample Image 1.', 'group' => 'sample' )); $this->widget('ext.lyiightbox.LyiightBox2', array( 'smallest' => '/path/to/thuimb/images.jpg', 'biggest' => '/path/to/biggest/image.jpg', 'title' => 'Sample Image 1.', 'visible' => false, 'group' => 'sample' )); ?>

Clone this wiki locally