%#
%# Configuration for Mason Gallery
%#
<%perl>
    return {
	thumb_width	=> 160,	    ## width thumbnails should be constrained
				    ## to (height will be scaled proportionally)

	view_width	=> 800,	    ## maximum width viewed images should be
				    ## shown at (if rotated, this will be the
				    ## maximum height)

	gallery_name	=> 'pics',  ## whatever you want the gallery called
				    ## (will be the first part of the crumbs)

	new_secs	=> 60 * 60 * 24 * 7,	## how long (in seconds) a
						## picture/dir is still
						## considered "new"
	search_dbi_args	=> undef,   ## arguments to the DBI connect for the
				    ## search page; set to undef if no search
	# example:
	# search_dbi_args	=> [	    
	#    'DBI:Pg:dbname=pics',   
	#    'user',
	#    'pass',
	#    { RaiseError => 1 },
	# ],

	jhead_path	=> '/usr/local/bin/jhead',  ## path to the jhead 
						    ## utility for EXIF thumb
						    ## extraction; set to undef
						    ## if you don't have it
    };
</%perl>
