aboutsummaryrefslogtreecommitdiff
path: root/www/inc/config.inc.php
diff options
context:
space:
mode:
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2005-11-25 22:16:10 +0000
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2005-11-25 22:16:10 +0000
commit4023001a68b3d85891ab744eb77e7b22a9dd8e3f (patch)
tree8ef9fadd91e07cae3bcc1284cc06a850f818168b /www/inc/config.inc.php
parent796ade427c4b26271d879d2c1f58def958d51568 (diff)
downloadoriginal-4023001a68b3d85891ab744eb77e7b22a9dd8e3f.tar.gz
original-4023001a68b3d85891ab744eb77e7b22a9dd8e3f.tar.bz2
import original 0.11
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@2 4fa712ea-3c06-0410-9261-c11b4c06c003
Diffstat (limited to 'www/inc/config.inc.php')
-rw-r--r--www/inc/config.inc.php71
1 files changed, 71 insertions, 0 deletions
diff --git a/www/inc/config.inc.php b/www/inc/config.inc.php
new file mode 100644
index 0000000..5bfb36e
--- /dev/null
+++ b/www/inc/config.inc.php
@@ -0,0 +1,71 @@
+<?
+#base dirname
+ eregi("^(.*)/[^/]*$", $ScriptFileName, $x);
+ $root = $x[1];
+# ===========================================================================
+#images
+ $img["left"] = "left.png";
+ $img["right"] = "right.png";
+ $img["top"] = "top.png";
+# ===========================================================================
+#thumbnail behaviour
+ //keep this unset for dynamic thumbnail size
+ //$thumbsize = "fixed";
+ //How the previous and Next thumbnails should be scaled
+ // 1 is 1:1, >1 is smaller, <1 is bigger
+ $PNthumbScale = 1;
+# ===========================================================================
+#colors and backgrounds
+# this has been removed in favour of custom CSS stylesheets
+# ===========================================================================
+#app info
+ $app["name"] = "Original"; // opensource remote image gallery,
+ // initialy not as lovely
+ $app["url"] = "http://jimmac.musichall.cz/original.php3";
+ $app["version"] = "0.8-cvs";
+# ===========================================================================
+# EXIF metadata app path (helper app for php3 and older php4)
+# uncomment the method you want to use if you want EXIF data reported
+# ---------------------------------------------------------------------------
+## use internal function of PHP 4 (does not seem to work yet):
+# $exif_prog = "php4";
+# ---------------------------------------------------------------------------
+## use metacam (give absolute path to the binary on the server):
+# $exif_prog = "/usr/local/bin/metacam";
+## what EXIF data to show (if unset, all will be shown)
+## some example fields for metacam:
+# $exif_show = array("Image Capture Date", "Make", "Model",
+# "Exposure Program", "Exposure Mode",
+# "Focal Length", "Exposure Time",
+# "Aperture Value", "ISO Speed Rating", "White Balance",
+# "Flash", "Scene Capture Type",
+# "Metering Mode", "Max Aperture Value", "Shutter Speed Value"
+# );
+# ---------------------------------------------------------------------------
+## use jhead (give absolute path to the binary on the server):
+# $exif_prog = "/usr/local/bin/jhead";
+## what EXIF data to show (if unset, all will be shown)
+## some example fields for jhead:
+# $exif_show = array(
+# "Date/Time",
+# "Camera make",
+# "Camera model",
+# "Focal length",
+# "Exposure time",
+# "Aperture Value",
+# "ISO equiv.",
+# "Exposure",
+# );
+# ===========================================================================
+## Gallery Directory
+# This is a path relative to the directory where original is installed
+# eg. it can be "../galleries" to use a galleries dir above the original dir.
+ $gallery_dir="galleries";
+
+#css styles
+ $themes = array(
+ "default" => "inc/styles/default/default.css",
+ "ie" => "inc/styles/ie/ie.css",
+ "gorilla" => "inc/styles/gorilla/gorilla.css"
+ );
+?>