CMS  Version 3.9
image_gallery.inc File Reference

Go to the source code of this file.

Variables

 $gallery_id = checkNumeric($_GET["gallery_id"])
 
if(! $gallery_id$gallery = new ImageGallery($gallery_id)
 
if(! $gallery->published$images = $gallery->Images("ORDER BY sort_order")
 
$page page_title = $gallery->gallery_name
 
if($gallery->image_link_mode=="Thumbnail") else
 
 $galleryName = $gallery->format("{gallery_name:jsSafe}")
 
 $script =
 
 $thumbnail_size = $gallery->thumbnail_size
 
 $view = new ImageGalleryView($images, $linkFormat, "images", $thumbnail_size)
 
$view spacing = "6px"
 
$view styles = "margin-left: 40px"
 

Variable Documentation

◆ $gallery

if (! $gallery_id) $gallery = new ImageGallery($gallery_id)

Definition at line 44 of file image_gallery.inc.

◆ $gallery_id

$gallery_id = checkNumeric($_GET["gallery_id"])

Definition at line 36 of file image_gallery.inc.

◆ $galleryName

$galleryName = $gallery->format("{gallery_name:jsSafe}")

Definition at line 65 of file image_gallery.inc.

◆ $images

if (! $gallery->published) $images = $gallery->Images("ORDER BY sort_order")

Definition at line 52 of file image_gallery.inc.

◆ $script

$script =

Definition at line 67 of file image_gallery.inc.

◆ $thumbnail_size

$thumbnail_size = $gallery->thumbnail_size

Definition at line 76 of file image_gallery.inc.

◆ $view

$view = new ImageGalleryView($images, $linkFormat, "images", $thumbnail_size)

Definition at line 81 of file image_gallery.inc.

◆ else

if ( $gallery->image_link_mode=="Thumbnail") else
Initial value:
{
$linkFormat = "lightbox({image_id}); return false"

Definition at line 60 of file image_gallery.inc.

◆ page_title

$page page_title = $gallery->gallery_name

Definition at line 54 of file image_gallery.inc.

◆ spacing

$view spacing = "6px"

Definition at line 82 of file image_gallery.inc.

◆ styles

$view styles = "margin-left: 40px"

Definition at line 83 of file image_gallery.inc.