corz.org uses cookies to remember that you've seen this notice explaining that corz.org uses cookies, okay!
<?php
/*
An example of how to include Thumber in your page.
When no $_GET variable ("dir") is sent, thumber assumes you want thumbnails
for the current directory. This makes it extremely easy to setup a thumbnail
gallery, simply include thumber wherever the images are!
This is a good, portable method of calling thumber. If you name this file
(or something like it - see "super-simple-portable-thumber-setup.php") to
"index.php" and drop into any folder of images, you have an instant thumb-
nail gallery.
;o)
(c) 2005->tomorrow! ~ cor + corz.org ;o)
*/
// This section is just corz.org page creation stuff..
require_once $_SERVER['DOCUMENT_ROOT'].'/inc/init.php';
$page_config['title'] = $site_config['user_name']."'s Thumber Example gallery. Help yourself!";
$page_config['styles'] = 'thumber_styles';
$page_config['describe'] = 'Thumber is a thumbnail gallery generator, from corz.org!';
start_page(); include $site_config['header']; echo '
<div class="content thumb-page">';
// This is the only line you actually need!
include $site_config['full_admin_path'].'/img/thumber.php';
// When no "dir" has been sent (via $_GET), thumber assumes you want thumbnails
// for THIS directory. But like most thumber behaviour, that can be overridden.
// See "super-simple-portable-thumber-setup+options.php" for more details.
// more corz.org pages stuff..
echo'</div>';
include $site_config['footer'];
echo '</body>
</html>';
?>