|
| Configuration |
|
This section explains each of the configuration settings in settings.cfg. |
$template: Name of the template you would like to use.
Enter the name of the template file, without the .html extension, that you would like to use. This should also be the name of the template images folder.
$language: Name of the language file you would like to use.
Enter the name of the language file you would like to use. The language file determines the language that will be used for emAlbum.cgi.
$cgi_url: URL to your CGI folder.
Enter the URL (http://...) to your cgi-bin folder. Make sure not to include the trailing slash.
$album_path: Server path to your albums folder.
Enter the full server path to your albums folder. For help determining your paths, see #2 on the installation page.
$album_url: URL to your albums folder.
Enter the URL (http://...) to your albums folder. Make sure not to include the trailing slash.
$image_url: URL to your images folder.
Enter the URL (http://...) to your images folder. Make sure not to include the trailing slash.
$use_thumbs: Would you like to use the Thumbnail feature?
If you would like to use the thumbnail feature, enter a 1, otherwise enter a 0. You will need to manually create your thumbnails and put the in the thumbnails folder.
$thumbs_url: URL to your thumbnails folder.
If you have chosen to use thumbnails, enter the URL (http://...) to your thumbnails folder.
$thumbs_path: Server path to your thumbnails folder?
If you have chosen to use thumbnails, enter the full server path to your thumbnails folder.
$thumbs_place: Thumbnail organization.
If you have chosen to use thumbnails, enter 0 if you want to put all of your thumbnails in one directory, or enter 1 if you want to organize your thumbnails in a directory structure that matches your orignal images.
$per_row: Number of thumbnail images you would like displayed per row.
If you have chosen to use thumbnails, enter the maximum number of thumbnail images you would like displayed per row.
$max_rows: Number of thumbnail rows you would like displayed per page.
If you have chosen to use thumbnails, enter the maximum number of thumbnail rows you would like displayed per page.
$prefix: Prefix used, if any, for your thumbnail images.
If you have chosen to use thumbnails, enter the prefix used, if any, for your thumbnail images. For example, if your original image is called myimage.jpg and the thumbnail is called tn_myimage.jpg, your prefix would be tn_. This is a global variable, so if you enter a prefix emAlbum will look for that prefix on all of your thumbnails.
$thumb_extension: File extension used for your thumbnail images if different than the original.
If you have chosen to use thumbnails, enter the file extension used for your thumbnail images if different than the original. For example if your original image is called myimage.png and the thumbnail is called myimage.jpg, your extension would be jpg. This is a global variable, so if you enter a thumb_extension emAlbum will look for that extension on all of your thumbnails.
$drop: Do you want to have a drop down box appear when viewing your images?
If you would like to use the drop down box feature, enter a 1, otherwise enter 0. This feature places a drop down box on your page when viewing images and allows viewers to select an image they wish to see and to "jump" straight to it.
$title: Title for your main page.
This value replaces the <emAlbumTitle> tag in your template and is usually used in the HTML title and for the name of your site.
$home: Would you like to display a Home Page link?
If you would like to use the home page link feature, enter a 1, otherwise enter a 0. This feature places a hyperlink to your home page at the beginning of the navigation cell.
$home_text and $home_url: Home page link text to display and the URL to your home page.
If you have chosen to use the home page link, enter the text (wording) you would like to use for the link and the URL (http://...) to your home page.
$caption: Would you like to display image captions?
If you would like to use captions for your images, enter a 1 or 2, otherwise enter a 0. The captions come from the image file name. If you enter a 1, the caption will be the image filename. If you enter a 2, the caption will be the image filename, but without the extension any _'s. For example, if your image is called Our_Trip_to_the_Park.jpg, option 1 will result in Our_Trip_to_the_Park.jpg and option 2 will result in Our Trip to the Park.
$thumb_caption: Would you like to display thumbnail captions?
If you would like to display thumbnail captions for your images, enter a 1, otherwise enter a 0. Read the information above about how captions are determined. This option is dependant on the $caption option. If captions are turned on and you enter a 1 for this option, your thumbnail caption will be in the format that you chose above.
$use_update: Would you like use the New or Updated feature?
If you would like to display the New or Updated feature, enter a 1, otherwise enter a 0. If you turn this feature on, emAlbum will display a different image icon for any folder that has been modified in the period you specify in $update_range. See the emAlbum Demo for an example.
$update_range: Number of days to consider an album updated or new.
If you have chosen to use the update feature, enter the number of days to consider an album new or updated. Once an album goes beyond this value, its image icon changes back to the default image.
$slide_show: Would you like to use the Slideshow feature?
If you would like to use the slideshow feature, enter a 1, otherwise enter a 0. This feature allows viewers to start a timed slideshow of your images.
$default_speed: Default slideshow delay, in seconds.
If you have chosen to use the slideshow feature, enter the default delay between images, in seconds. Viewers will be able to adjust this setting to fit their preferences...this is just the default value.
$cgi_index and $url: Would like to use emAlbum.cgi as a Directory Index.
If you want to use this feature, you will need a server that supports .htaccess files. See this post for an example. Make sure to add the URL to the location of the folder containing the .htaccess file.
$admin_email: Administrator email.
Enter your email address to that viewers may email you if they encounter an error code through emAlbum.
|
|
|
|
|
|
|
|