# Copyright (c) 2002 Sandino Araico Sánchez /* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ # Changelog: # 2002-01-25 Tony J. White tjw@tjw.org - DirectoryMediaIndex (dmi) 1.2 # 2002-03-14 Sandino Araico Sánchez - separated dmi-conf from dmi-1.2.php # Enclosed inside #ifdef duplicates protection # Use $THUMBS_DIR and HOPP's 's' functions # Separated autoconf from main config. # Config font size for the Thumbnails text (obsolete) # 2002-04-27 Sandino Araico Sánchez # Renamed dmi-conf.inc.php to dmi-conf.inc.php.dist if(!defined('__DMI_CONF')) { define('__DMI_CONF',1); //**********************************************************************/ if(!defined('__DEBUG__')) define('__DEBUG__',0); include "s/s-log.inc"; //**********************************************************************/ /**** CONFIGURATION *****/ // do you want ANYONE to be able to upload files throught this script? $ALLOW_UPLOAD = 0; // how many thumbnails per table_row? $WIDTH = 3; // how many thumbnails rows? $HEIGHT = 3; // what are the max dimensions for thumbnails? note that the aspect ratio // of the images will NOT be changed. Setting either height or width very // large will cause the lesser dimension to be used, this is nice for // providing consistency for a better looking table. $THUMB_WIDTH = 150; $THUMB_HEIGHT = 120; // The same for Big images $BIG_WIDTH = 450; $BIG_HEIGHT = 360; // The thumbnails' border $THUMB_BORDER = 0; $THUMB_LINK = 'Show thumbnails'; // you need the FULL path here if this file is not in the same dir as // your images, leave blank otherwise $PHOTO_DIR = "../pics"; // virtual path to the photos, leave blank if they are in the same virtual path // as this script is. $WEB_PHOTO_DIR = "/pics"; // this is the path to ImageMajick's convert program. #$CONVERT_PROG = "/usr/local/bin/convert"; $CONVERT_PROG = ""; // this is the path to David Hedbor's dumpmpeg // http://sourceforge.net/projects/dumpmpeg/ #$DUMPMPEG_PROG = "/usr/local/bin/dumpmpeg"; $DUMPMPEG_PROG = ""; // this is the path to mpgtx's mpginfo // http://sourceforge.net/projects/mpgtx/ #$MPGINFO_PROG = "/usr/local/bin/mpginfo"; $MPGINFO_PROG = ""; // dump every N frames from the MPEG to be used in the animated GIF thumb. // 30 means dump every 30th frame, good for full motion NTSC mpegs // set it higher if your mpegs have alot of frames or you'll get huge // thumbnail GIF's $MPEG_FRAME_FREQ = 30; // number of 1/100ths of a second to wait between frames in GIF animation // thumbmails. $ANIM_DELAY = 100; //Decoration $THUMB_BORDER=1; $THUMB_FONT_FACE='Arial,Helvetica,sans-serif'; $THUMB_FONT_SIZE='-2'; /***** END CONFIG *****/ //**********************************************************************/ } //__DMI_CONF ?>