2013-03-23 17:35:44 +01:00
< ? php
/*
MINIGAL NANO
- A PHP / HTML / CSS based image gallery script
This script and included files are subject to licensing from Creative Commons ( http :// creativecommons . org / licenses / by - sa / 2.5 / )
You may use , edit and redistribute this script , as long as you pay tribute to the original author by NOT removing the linkback to www . minigal . dk ( " Powered by MiniGal Nano x.x.x " )
MiniGal Nano is created by Thomas Rybak
Copyright 2010 by Thomas Rybak
Support : www . minigal . dk
Community : www . minigal . dk / forum
Please enjoy this free script !
*/
// EDIT SETTINGS BELOW TO CUSTOMIZE YOUR GALLERY
2013-03-23 18:46:00 +01:00
$thumbs_pr_page = " 39 " ; //Number of thumbnails on a single page
$gallery_width = " 80% " ; //Gallery width. Eg: "500px" or "70%"
2013-03-23 17:35:44 +01:00
$backgroundcolor = " white " ; //This provides a quick way to change your gallerys background to suit your website. Use either main colors like "black", "white", "yellow" etc. Or HEX colors, eg. "#AAAAAA"
2014-01-12 14:09:31 +01:00
$templatefile = " board " ; //Template filename (must be placed in 'templates' folder)
2014-02-02 20:09:14 +01:00
$title = " MiniGal Nano " ; // Text to be displayed in browser titlebar
2014-01-10 23:11:38 +01:00
$author = " John Doe " ;
2013-03-23 17:35:44 +01:00
$folder_color = " black " ; // Color of folder icons: blue / black / vista / purple / green / grey
$sorting_folders = " name " ; // Sort folders by: [name][date]
$sorting_files = " name " ; // Sort files by: [name][date][size]
$sortdir_folders = " ASC " ; // Sort direction of folders: [ASC][DESC]
$sortdir_files = " ASC " ; // Sort direction of files: [ASC][DESC]
2014-01-30 12:30:26 +01:00
$lazyload = 1 ; // 0 = pagination, 1 = display all pictures on one page.
2013-03-23 17:35:44 +01:00
//LANGUAGE STRINGS
$label_home = " Home " ; //Name of home link in breadcrumb navigation
2014-01-10 23:11:38 +01:00
$label_new = " New " ; //Text to display for new images. Use with $display_new variable
2013-03-23 17:35:44 +01:00
$label_page = " Page " ; //Text used for page navigation
2014-01-10 23:11:38 +01:00
$label_all = " All " ; //Text used for link to display all images in one page
2013-03-23 17:35:44 +01:00
$label_noimages = " No images " ; //Empty folder text
$label_loading = " Loading... " ; //Thumbnail loading text
2014-02-25 10:24:36 +01:00
//RSS SETTINGS
2014-02-25 10:26:08 +01:00
$gallery_link = " http://yougalleryadress.domain/folder " ;
2014-02-25 10:24:36 +01:00
$description = " Description of the John Doe Gallery " ;
$nb_items_rss = 25 ;
2013-03-23 17:35:44 +01:00
//ADVANCED SETTINGS
2013-03-23 18:46:00 +01:00
$thumb_size = 320 ; //Thumbnail height/width (square thumbs). Changing this will most likely require manual altering of the template file to make it look properly!
$label_max_length = 40 ; //Maximum chars of a folder name that will be displayed on the folder thumbnail
2014-01-11 16:41:31 +01:00
$display_exif = 0 ; //Take care, even if not diplayed EXIF are still readable for visitors. May be a good idea to erase EXIF datas...
2013-03-23 17:35:44 +01:00
?>