Member
Member
art2002   2011-12-17, 07:21
#1
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.
Administrator
Administrator
acrylian   2011-12-17, 12:21
#2
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();`.
Member
Member
art2002   2011-12-17, 19:49
#3
Thank you, it worked!!! More success to you!
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.