Can't get watermark to work in Colorbox on Zenpage theme

Hi,

I am using:
Zen Photo version: 1.4.1.6
Theme: Zenpage 1.4.0

The watermark feature works on the thumbnail, image and full size image. But when I enable the Colorbox, the watermark only works with the thumbnail and the image, but not on the full size image inside the Colorbox. You can see my website in

http://www.ambientlens.com

I even tried placing the Colorbox option 'photo:true' in the image.php of the theme like so:

<script type="text/javascript">
// <!-- <![CDATA[
$(document).ready(function(){
$(".colorbox").colorbox({
photo:true,
inline:true,
href:"#imagemetadata",
close: '<?php echo gettext("close"); ?>'
});
$("a.thickbox").colorbox({
photo:true,
maxWidth:"98%",
maxHeight:"98%",
close: '<?php echo gettext("close"); ?>'
});
});
// ]]> -->
</script>

But I can't get it to work. Any ideas?

Thanks.

Comments

  • acrylian Administrator, Developer
    The theme calls the full image directly so bypassing the watermark. You have to change line 76 of image.php from `$tburl = getUnprotectedImageURL();` to `$tburl = getFullImageURL();`.
  • Thank you, it worked!!! More success to you!
Sign In or Register to comment.