60 foreach($this->images as
$image)
62 $this->grid->addItem(
$image->image_id,
$image->format($this->titleFormat),
$image->caption,
$image->format($this->linkFormat));
67 $script .= $this->grid->writeScript();
68 $this->grid->drawView();
87 $this->galleryView->titleFormat =
"{Gallery.gallery_name}";
92 $this->images = array();
94 if (count($this->galleries) == 0)
return;
96 $ids = formatItems($this->galleries,
"{gallery_id}",
", ");
97 $groupedImages = GroupedQuery::create(
ImageRecord,
"WHERE gallery_id IN (".
$ids .
") AND published=1",
"gallery_id")
110 if (count($this->images) == 0)
112 echo
"<p>No photos have been published on this site.</p>";
116 $this->galleryView->drawGallery();
121 if (count($this->images) == 0)
123 echo
"<p>No photos have been published on this site.</p>";
127 $this->galleryView->drawGallery();
ImageGalleryList($galleries, $linkFormat, $id="galleries")
ImageGalleryView($images, $linkFormat, $id="images", $size=125)