You have to use protected full image links to see a watermark. By default the colorbox uses the full image directly and unprotected. But colorbox does not really like that so you need either to change the jquery define for it (we had this lots of times on the forum) or use the iFrame method to display (as the protected view is basically a page).
acrylian : you said "you need either to change the jquery define for it (we had this lots of times on the forum) or use the iFrame method to display (as the protected view is basically a page)."
in option, I set "protected view" in Full Image protection. I set "Full Image" in slideshow options I set zenpage theme I set "Use colorbox" in theme options I do a reset of the image cache
and no watermark appears, neither if I open the image in colorbox, neither in the slide show.
I checked the code, and colorbox is well defined (photo: true) on slideshow instance of colorbox.
so I don't really understand where the problem is.
You need to use the right image function as well. There are several for the full image, including one for unprotected full images that naturally does not care about any setting. The Zenpage theme uses that one if I recall right.
in slideshow.php, in printSlideShowLink function, there is this code
` switch(getOption('slideshow_colorbox_imagetype')) { case 'fullimage': $imagelink = $imgobj->getFullImageURL(); break; [...] ` according to you, getFullImageURL() should return protected image. so I don't understand...
I tried slideshow with jquery cycle. even if "Watermark" option is set, the Watermark is not displayed in the slideshow. Before my test, I reset the cache image and full image is not stored in the cache.
The jQuery Cycle code does not execute the statement you quote above. That code is in the "colorbox" path. So far as I can tell, jQuery Cycle does not use the full image, it uses the default sized image. And if that image is watermarked, the slideshow does include a watermark.
1. The slideshow cycle mode does NOT use the full image.
2. The slideshow colorbox has an option to choose either the sized image (watermarked) or the fullimage (not watermarked as it is used directly as far as I can remember).
With colorbox, the full watermarked image is displayed, but in the slideshow with colorbox, the full watermarked image is not displayed (either if watermark on image is selected or not). you should admit that it's a bit confusing, don't you think ;-)
Comments
"you need either to change the jquery define for it (we had this lots of times on the forum) or use the iFrame method to display (as the protected view is basically a page)."
can you explain how should I do that ?
thanks.
in option, I set "protected view" in Full Image protection.
I set "Full Image" in slideshow options
I set zenpage theme
I set "Use colorbox" in theme options
I do a reset of the image cache
and no watermark appears, neither if I open the image in colorbox, neither in the slide show.
I checked the code, and colorbox is well defined (photo: true) on slideshow instance of colorbox.
so I don't really understand where the problem is.
`
$tburl = getFullImageURL();
if (!empty($tburl)) {
?>
"<?php echo $boxclass; ?> title="<?php echo getBareImageTitle();?>">
[...]
`
and in documentation, I can see that :
getFullImageURL [line 2470]
Returns the url to original image.
It will return a protected image is the option "protect_full_image" is set
with Zenphoto version 1.4.3-BETA [10049], there is no image displayed in colorbox (I ve got this message : This image could not be loaded), and there is no watermark on the slideshow.
can you explain ?
in slideshow.php, in printSlideShowLink function, there is this code
`
switch(getOption('slideshow_colorbox_imagetype')) {
case 'fullimage':
$imagelink = $imgobj->getFullImageURL();
break;
[...]
`
according to you, getFullImageURL() should return protected image.
so I don't understand...
even if "Watermark" option is set, the Watermark is not displayed in the slideshow.
Before my test, I reset the cache image and full image is not stored in the cache.
I tried Zenphoto version 1.4.3-BETA [10224].
I can see watermark on full image, but nothing changes on slideshow.
but, with zenpage theme, if colorbox is checked to display the full image (not the slideshow), there is the watermark.
2. The slideshow colorbox has an option to choose either the sized image (watermarked) or the fullimage (not watermarked as it is used directly as far as I can remember).
you should admit that it's a bit confusing, don't you think ;-)
have a look here : http://dev.vincentbourganel.fr/20101111-voyage-marseille/img_4400.jpg.html
Open the picture in colorbox and after, run the slideshow.
I am sure you will understand what I mean.