function brilliant_gallery_get_allowed_params in Brilliant Gallery 6.3
Same name and namespace in other branches
- 6.4 brilliant_gallery.module \brilliant_gallery_get_allowed_params()
- 7.2 brilliant_gallery.inc \brilliant_gallery_get_allowed_params()
- 7 brilliant_gallery.module \brilliant_gallery_get_allowed_params()
1 call to brilliant_gallery_get_allowed_params()
File
- ./
brilliant_gallery.module, line 919
Code
function brilliant_gallery_get_allowed_params() {
$allowed_params = array(
// path/to/your/gallery/folder/without/wrapping/slashes|
// or Picasa RSS URI
// If not set, the value set at /admin/settings/brilliant_gallery is used.
location,
// Columns to show. Zero (0) means there will be as many columns as the width of the page permits.
// If not set, the value set at /admin/settings/brilliant_gallery is used.
thumbcolumns,
// Width of individual thumbs. Height is calculated automatically, except in the case of square thumbs, where this will also be the height of the thumbs.
// If not set, the value set at /admin/settings/brilliant_gallery is used.
thumbwidth,
// 'sort' means images in the gallery will be sorted by their file names alphabetically, in ascending order. Set it to 'random' to shuffle the images in a gallery.
// If not set, the value set at /admin/settings/brilliant_gallery is used.
thumbsort,
// Maximum number of images to show in a gallery.
thumbmaxshow,
// Background colour in format #000000.
// If not set, the value set at /admin/settings/brilliant_gallery is used.
thumbbackcolour,
// Sequential number of the image in the gallery that should appear as the first one.
thumbstartfrom,
// Show captions in the overlay browser (based on the image file name (based on the image file name; dots and underscores are automatically replaced by spaces).
// Can be 'yes', 'no', or you can specify text that will override the file name (useful when showing a single image).
// If not set, the value set at /admin/settings/brilliant_gallery is used.
fullcaption,
// Maximum width of images in full view (in the overlay browser).
fullwidth,
// Squared - thumbnails are squared (both portrait and landscape images are cropped around their geometric centers).
// If not set, the value set at /admin/settings/brilliant_gallery is used.
thumbsquared,
// Table cell padding, in pixels.
thumbpadding,
// Don't show a grid of images, but a slide show.
// Currently only working for images fetched from Picasa.
thumbslideshow,
// Show only one or several images specified by file name(s), separated by commas. E.g.: imageone.jpg, imagetwo.png, imagethree.gif
thumbshowbyname,
// Cache the HTML code of the generated gallery.
thumbhtmlcache,
);
return $allowed_params;
}