I recently updated to Zenphoto 1.2.6 and the Slimbox feature quit working. The photos now load in a new window. I read other posts on the forum and was tipped off on navigating to Options> Image and ensuring that Full Image Protection is 'Unprotected' and that I have unchecked the "Disable Hotlinking" option. I was hoping that would have done the trick, however Slimbox is not opening when clicking on a photo. Does anyone have any input into why this might be happening?
Not sure if the information provided is sufficient to figure out the problem. Might be some setting within the admin that I don't know about. If you have some knowledge of what the problem might be, but require more information, then please let me know. Thanks.
Using Firefox 3.0.15 and IE 8.0.6001
Here is the site:
http://www.thegoldbrick.net/zenphotoHere is the album.php:
Well, once again, I cannot get the backticks to show my "code" properly. Even with adding a space after it. Follow the link to my album.php
http://www.thegoldbrick.net/wp-content/uploads/2009/11/albumPHP.txt
Comments
`rel="lightbox-<? echo getAlbumTitle();?>"`
or even just
`rel="lightbox-thumbs"`
I am pretty sure I remember reading on the slimbox documentation that they suggest to avoid using brackets. Don't recall why though.
By on board, do you mean that it is already included in Zenphoto and I simply need to activate it?
I did get know a few days ago that the dev stopped maintaining, but it of course still works.
You can of course try other jQuery-"box"-scripts as recommended on the Thickbox site but not all might work with Zenphoto's jQuery, which is not the current jQuery release because our backend drag and drop sorting JS does not work with the newer jQuery. We had no time to update that but that is on our list for one of the next releases though.
' <html>
<head>
<title><?php printGalleryTitle(); ?> | <?=getAlbumTitle();?></title>
<link rel="shortcut icon" href="<?= $_zp_themeroot ?>/favicon.ico" type="image/x-icon">
<link rel="icon" href="<?= $_zp_themeroot ?>/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<?= $_zp_themeroot ?>/zen.css" type="text/css" />
<link rel="stylesheet" href="http://www.thegoldbrick.net/zp-core/js/css/thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="<?= $_zp_themeroot ?>/scripts/bluranchors.js"></script>
<script type="text/javascript" src="http://www.thegoldbrick.net/zp-core/js/jquery.js"></script>
<script type="text/javascript" src="http://www.thegoldbrick.net/zp-core/js/thickbox.js"></script>
<script type="text/javascript" language="Javascript">
function WriteEmail(d, n) {
document.write("");
}
</script>
<?php zenJavascript(); ?>
<META NAME="Keywords" CONTENT="the goldbrick, thegoldbrick, goldbrick, ryan, nerone, photography, photo, thailand, phuket, krabi, phang nga">
<META NAME="Author" CONTENT="ryan nerone">
</head>
<body onload="blurAnchors()">
<!-- Wrap Header -->
<div id="header">
<!-- Logo -->
<div id="gallerytitle">
<div id="logo">
<h1>" title="Return to the Main Index"></h1>
</div>
</div>
<!-- Crumb Trail Navigation -->
<div id="wrapnav"><div id="navbar"><span>Browse Albums | </span> <?php printAlbumTitle(true);?></div></div>
</div>
<!-- Wrap Main Body -->
<div id="content">
<div id="main">
<div id="images">
<?php while (next_image()): ?>
<div class="image"><div class="imagethumb">" rel="lightbox-<? echo getAlbumTitle();?>" title="<? echo getImageTitle();?>"><?php printCustomSizedImage(getImageTitle(),NULL,85,85,85,85); ?></div></div>
<?php endwhile; ?>
</div>
<div class="clearage"></div>
<!-- Album List -->
<ul id="albums">
<?php while (next_album()): ?>
<div class="imagethumb">"><?php printCustomAlbumThumbImage(getAlbumTitle(), null, 300, null, 300, 150); ?></div>
<h4>" title="View album: <?=getAlbumTitle();?>"><?php printAlbumTitle(); ?></h4>
<?php endwhile; ?>
<div class="clearage"></div>
<!-- Album Description -->
<div id="description">
<?php printAlbumDesc(true); ?>
</div>
<!-- Page Numbers -->
<div id="pagenumbers">
<?php printPageListWithNav("« Previous", "Next »"); ?>
</div>
</div>
<?php include("include/footer.php"); ?>
</div>
</body>
</html>
'
I would begin by taking a look at any excess javascript (aside from the default zenphoto stuff) as the first step.
I'd also like to point you at slimbox 2 (as you earlier mentioned you were just using slimbox, not sure if you've upgraded it yet). I'm currently using slimbox2 and it handles the protectedimage url's just fine. I know some people were having issues with fullprotected images and other box-scripts.
http://www.thegoldbrick.net/zenphoto