Member
Member
liparis   2008-10-06, 20:48
#1

Hi,
I'm trying to make my zenphoto site a page with a random image. I have used code from the effervescence theme to do it. Everything works ok except for watermarking. Watermarking is on on the site and works when using the printCustomSizedImage (see http://xraynaudphotos.ovh.org/index.php?album=Paysages&image=pict1625_1.jpg for example). However, when using the getCustomImage to show the Random image, the image is not watermarked. There is an option to inhibit watermarking in getCustomImage but setting it to false or true does not change anything. I'd be gratefull to anybody who could explain me how watermarking works. Thanks.

Member
Member
sbillard   2008-10-06, 23:54
#2

Watermarks on images are cached. So if you have already cached the image before trying to watermark it you will have to purge the cache to see the result. The parameter to getCustomImage() does work.

Member
Member
liparis   2008-10-07, 18:00
#3

Thank you very much for your quick answer. It seems that I am not using correctly these different functions. I cleared the cache but still don't have watermark on random images. Here is the code I'm using:
code `

" title="">[b]
[/b]

`
You can see the result here: http://xraynaudphotos.ovh.org/index.php?album=Nature&image=Farc04_1.jpg. The left picture is watermarked, the right one isn't. Am I doing something wrong ? Thanks.

Watermark is the small red signature on the bottom right of the picture.

Member
Member
sbillard   2008-10-07, 22:04
#4

I don't see what is wrong, but why don't you just include the custom functons from Efferevescence+ and use its printHeadingImage() function.

BTW, you should enclose code in "peck" marks (below the tilds at the left of the numberic keys on the US keyboard.) otherwise not everything gets shown.

Member
Member
liparis   2008-10-08, 18:17
#5

Thanks for your help. I really don't know what is happening. I tried by using directly the customfunction.php but it still didn't work. I found a workaround by using the makeImageCurrent()and the printCustomSizedImage().
Thanks for your help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.