![]() |
|
Disable watermarks for logged-in users - 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: Disable watermarks for logged-in users (/thread-11939.html) |
Disable watermarks for logged-in users - klikini - 2014-08-04 I would only like to show watermarks to guests (anyone that isn't logged in) but let logged-in users see and download watermark-free images. Seeing the watermark on the image page but downloading it without one would be fine too. Is there an option for this? Disable watermarks for logged-in users - sbillard - 2014-08-04 To do this you will have to have your theme use different function calls for logged-in users versus the general public since the watermark is permanent in the cached image. You can use Disable watermarks for logged-in users - klikini - 2014-08-04 I'm using the default theme, dark. How would I implement this, and is there a doc page for the function? Disable watermarks for logged-in users - acrylian - 2014-08-04 Disable watermarks for logged-in users - klikini - 2014-08-04 Okay so now I have it displaying images without a watermark, but they are very large. What is the format of the "size" parameter? I tried Disable watermarks for logged-in users - acrylian - 2014-08-04 "Size" is in pixel. If it is the width or height depends on your image option settings regarding "longest side". If it didn't work you maybe did not set the parameters correctly. Disable watermarks for logged-in users - klikini - 2014-08-04 Okay, the size works now, but the watermark show up now too. What do I need to put in the Disable watermarks for logged-in users - acrylian - 2014-08-04
Disable watermarks for logged-in users - klikini - 2014-08-04 That works! Now how can I also hide it for logged in users on the full image page?
Disable watermarks for logged-in users - acrylian - 2014-08-04 There is no full-image page on theme level and it is only used for protected images. Use the image functions for it. Add a check using Disable watermarks for logged-in users - klikini - 2014-08-04 It works perfectly now! I have it set up so that logged in users see and download (no more full-image.php... I have so it downloads directly) a watermark-free image while guests see and download a watermarked image. Thank you! Disable watermarks for logged-in users - klikini - 2014-08-05 Hah! It was messed up by the `` |