/*  
Theme Name: ChaoticSoul
Theme URI: http://sandbox.avalonstar.com/
Description: An old version of the beloved Avalonstar, remade into a WordPress theme.
Version: 1.0.1
Author: Bryan Veloso
Author URI: http://avalonstar.com/

Ported to CPG  by: Billy Bullock
Porter URI: http://www.billygbullock.com
ChaoticSout Coppermine Theme Version: 1.3.0
Tested on CPG v1.4.18
Released on August 10, 2008
*/

License -
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

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, version 2 of the License.

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.
*/

Thank you for downloading ChaoticSoul, a  theme for Coppermine Photo Gallery v1.4.x ported and expanded from a WordPress theme. This is a fixed width theme of 860 pixels and is fully compatible with most of the major browsers (I tested it in FF, IE and Safari at various monitor resolutions). The width will accomodate monitor sizes from 1024 on up.

I've overwritten some of the configuration settings by using variables in the theme.php file and added a new variable for retrieving the album description. The reason for this is to prevent the standard settings in the Configuration tables set by you from "breaking" the theme. These changes are:

// These parameters overide what the user inputs in the Configuration setup to prevent the theme from breaking.
$CONFIG['max_film_strip_items'] = 5; //overrides the number of thumbnails.
$CONFIG['thumbcols'] = 4; //overrides the number of columns for thumbnails.
$CONFIG['main_table_width'] = '100%'; //overrides the Width of the main table (pixels or %).
$CONFIG['picture_table_width'] = '100%'; //overrides the Width of the table for file display (pixels or %).
$CONFIG['album_list_cols'] = 2; // sets "Number of columns for the album list = 3"
$CONFIG['first_level'] = 0; //sets "Show first level album thumbnails in categories = no".
$album_desc = get_album_desc($_GET[album]);

This theme has the first level of album thumbnails turned off to make large galleries look move attractive. This will prevent the main page from being cluttered with thumbnails and easier to chose a particular category. There is also a new function for truncating the album description when viewing on the index or category pages. When you view a single album, the full description is printed out at the top of the album. This makes the index and category pages much cleaner looking.

To edit the number of characters in the truncated album description, find in 2 places - '{ALB_DESC}' => myTruncate($album['album_desc'], 30, " "), and change the number (30) to any length your desire. You can also change the padding characters (...) to any other set of characters by editing function myTruncate($string, $limit, $break=".", $pad="...") in the theme.php file.

Another nice enhancement is the frame around the photo when viewing intermediate images. This was added from a post by dereksurfs - http://coppermine-gallery.net/forum/index.php?topic=38873.0

Please enjoy the theme and all I ask is that you keep the credit line in the template.html to help support my efforts to develop and port themes for Coppermine.

Cheers,

Billy
http://www.billygbullock.com
