$imagePath= "../images";// images root directory of your gallery
$cacheDir = "../cache"; // the directory in which to store the cache of local pictures
-
$RemoteDirConfigFileName= "remote_dir.txt"; // name of file put in any directory for making
// link for remote gallery or remote gallery subdirectory
// syntax for these files is the following for each line :
// RemoteServerGalleryIndexDirLink,RelativePathFromRemoteGalleryImagesRootDir,ShownName,bool open in new window
// ShownName is realy useful if you want to link to another root gallery
//
// example : http://220.20.16.104/Gallery/,Birdthday,Birthday,true
// http://220.20.16.105/Gallery/,Party/Halloween,Halloween Party,false
// http://220.20.16.106/Gallery/,,Holidays,false
// (last one for referencing remote gallery root directory)
// web page configuration
$itemsInRow = 3; // how many items in each row
$numberOfRows = 3; // the number of rows per page
// thumbs size
// note : portrait size will be
// $thumb_portrait_width=$thumb_landscape_height
// and $thumb_portrait_height=$thumb_landscape_width
$thumb_landscape_width=160;
$thumb_landscape_height=120;
// img preview size
// note : portrait size will be
// $img_preview_portrait_width=$img_preview_landscape_height
// and $img_preview_portrait_height=$img_preview_landscape_width
$img_preview_landscape_width=640;
$img_preview_landscape_height=480;
$showFileName=false;
$show_date=true;
$dd_mm_yy_date=true;// date presentation. default is mm/dd/yyyy put to true for dd/mm/yyyy
$show_hour=false;
$show_caption=true;
$show_source=true;
$show_copyright=true;
$show_iptc_info=true;
$show_exif_info=true;
-
$showBottomNavBar=false;// show bottom navigation bar
$showGalleryInfoOnlyForHome=true;// show $fsphpgallery_info content only for home page
-
$show_slideshow=true;
$looping_slideshow=false; // true slideshow doesn't stop at the end of directory but restart with first image
$slideshow_speed=4000; // time in ms
-
$links_color="#5D92F1";
$links_font_weight="bold";
-
$background_color="#FFFFFF";// you will need to modify some png images as Internet Explorer dislike png transparency
// so it's better to put your background color as background color for png images
-
$home_caption="Home";
$next_caption="Next";
$prev_caption="Previous";
$up_dir_caption="Upper Directory";
$folder_caption="Folder Image";
$click_to_enlarge_caption="Click to Enlarge";
$show_hide_iptc_caption="Show / Hide General informations";
$show_hide_exif_caption="Show / Hide Technical informations";
$enable_slideshow_caption="Slideshow";
$disable_slideshow_caption="Stop Slideshow";
// abuse config
$abuseReports = false; // if you want to be emailed if someone tries to abuse the script
$email = "yourmail@yourprovider.com"; // your email address
-
/* header and footer customizing */
$page_title="Image Gallery";
-
// header for home of the gallery
$home_header="<h1 align=\"center\">Welcome To Image Gallery</h1>";
$fsphpgallery_info="<p align=\"center\"\"><i>Powered by <a href=\"http://jacquelin.potier.free.fr\"
target=\"_blank\">FsPHPGallery mode J</a> originally based on
<a href=\"http://gallery.devrandom.org.uk\" target=\"_blank\">FsPHPGallery</a>,
a file-system based PHP image gallery.</i></p>\n";
$fsphpgallery_header="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
."<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">\n"
."<head>\n"
."<title>$page_title</title>\n"
."<meta http-equiv=\"Page-Enter\" content=\"blendTrans(Duration=0.2)\">\n"
."<meta http-equiv=\"Page-Exit\" content=\"blendTrans(Duration=0.2)\">\n"
."<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n"
."<meta http-equiv=\"Content-Style-Type\" content=\"text/css\" />\n"
."<style type=\"text/css\"><!--\n"
."a:hover {font-weight: $links_font_weight; color: $links_color;text-decoration: none;}\n"
."a:link {font-weight: $links_font_weight; color:$links_color;}\n"
."a:visited {font-weight: $links_font_weight; color: $links_color;}\n"
.".class_link_color {color: $links_color;font-weight: $links_font_weight;}\n"
."body {background-color: $background_color;}\n"
."--></style>\n"
."</head>\n"
."<body>\n";
$fsphpgallery_footer= "</body>\n"
."</html>\n";