ZenphotoCMS Forum
watermark on no rescaled photos - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: watermark on no rescaled photos (/thread-2233.html)



watermark on no rescaled photos - jules11 - 2008-02-12

Is it possible only rescaled photos are automatically watermarked
I'm using the original Version 1.1.4, no custom changes.

When uploading a new photo that has already the "Default image display width" of the settings, no watermark is generated (Only for Full Image).
Also, when afterwards I cleared the cache..

I tried by replacing in image.php
printDefaultSizedImage(getImageTitle());
by
printCustomSizedImage(NULL, NULL, 640, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false);
no result

Only when I changed width to 630 images were watermarked.
That means, by default, uploaded images that fit to the "Default image display width" are not passed thru i.php ???

Any idea..




watermark on no rescaled photos - sbillard - 2008-02-13

Images of the exact size needed were not processed for things like watermarks. This has been corrected in the nightly builds.




watermark on no rescaled photos - jules11 - 2008-02-18

thnx a lot