Sorry to bring up an old topic again but I am trying to do this also and I am not having any luck. I did what was suggested here but it's not working. I'm not very familiar with PHP coding however so I'm sure there is something that I missed. I unchecked the "Disable hotlinking" box and it still didn't work. Also it's putting two of each thumbnail in my albums. When I click on them it just takes me to the full size image, not the lightbox effect.
Here is my album.php code:
`<?php if (!defined('WEBPATH')) die(); $themeResult = getTheme($zenCSS, $themeColor, 'light'); $firstPageImages = normalizeColumns('2', '6');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php zenJavascript(); ?>
<title><?php echo strip_tags(getGalleryTitle()); ?> | <?php echo strip_tags(getAlbumTitle());?></title>
<link rel="stylesheet" href="<?php echo $zenCSS ?>" type="text/css" />
<?php printRSSHeaderLink('Album',getAlbumTitle()); ?>
<script type="text/javascript" src="/themes/default/js/mootools.js"></script>
<script type="text/javascript" src="/themes/default/js/slimbox.js"></script>
<link rel="stylesheet" href="/themes/default/css/slimbox.css" type="text/css"
</head>
<body>
<div id="gallerytitle">
<?php printHomeLink('', ' | '); ?>"><?php echo getGalleryTitle();?> | <?php printParentBreadcrumb(); ?> <?php printAlbumTitle(true);?>
<?php printAlbumDesc(true); ?>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<?php echo strip_tags(getAlbumTitle());?>"><?php printAlbumThumbImage(getAlbumTitle()); ?>
<?php echo strip_tags(getAlbumTitle());?>"><?php printAlbumTitle(); ?>
<small><?php printAlbumDate(""); ?></small>
<?php printAlbumDesc(); ?>
<p style="clear: both; ">
</div>
<?php endwhile; ?>
</div>
<?php while (next_image(false, $firstPageImages)): ?>
<div class="image">
<div class="imagethumb">"><?php printImageThumb(getImageTitle()); ?>"><?php printImageThumb(getImageTitle()); ?>
</div>
<?php endwhile; ?>
</div>
<?php printPageListWithNav("« ".gettext("prev"), gettext("next")." »"); ?>
<?php printTags('links', gettext('[b]Tags:[/b]').' ', 'taglist', ''); ?>
</div>
<?php if (function_exists('printSlideShowLink')) printSlideShowLink(gettext('View Slideshow')); ?>
<?php if (function_exists('printAlbumRating')) { printAlbumRating(); }?>
</div>
<?php printRSSLink('Album', '', gettext('Album RSS'), ''); ?> | <?php printCustomPageURL(gettext("Archive View"),"archive"); ?> | <?php echo gettext("Powered by"); ?> ">zenphoto
<?php printAdminToolbox(); ?>
</body>
</html>`
Please help the clueless PHP newbie. ;)