Hello,
I'm pretty new with zenphoto and have problems with the colorbox plugin. I've activated it and selcted it for "album" and "image" on the settings page of the plugin, but it has no effect. Only the exif-info is shown in a colorbox window.
I have uploaded my images with a resolution of 1024 x 764 and would like to show the original images with colorbox, maybe the "595"-images too.
Thanks and best regards,
Christoph
Comments
Best regards and thanks for that great piece of software,#
Christoph
Also I recommended to read our theming tutorial.
I think I've got it so far. I looked at some other themes and read a bit. It would be nice if you'd have a look at my result. I functions like intended, but I don't know if i have messed up something important.
In the header i included following lines:
//<![CDATA[
$(document).ready(function(){
$("a[rel='zoom']").colorbox();
});
//]]>
The "image"-section looks like this:
<div id="image">
<?php
$fullimage = getFullImageURL();
if (!empty($fullimage)) {
?>
" title="<?php echo getBareImageTitle();?>"><?php printDefaultSizedImage(getImageTitle()); ?>
<?php
}
?>
<?php
if (function_exists('printUserSizeImage') && isImagePhoto()) printUserSizeSelector(); ?>
</div>
Best regards,
Christoph
you have to put something like that in your header
`
//
`