Confused By Watermark Option Confused By Watermark Option
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Confused By Watermark Option

Started by nootkan, January 01, 2022, 01:41:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nootkan

I am confused by how to use the watermark. 

I've read through the docs on it and created my own custom_watermark.png file, uploaded it to the images folder and set the path in config.

I set the transparency for entire image to 22% which is the same as the opacity for my custom watermark image which is the same width and height as the sample image.

I set the files option to both (original/resized).

I tested my custom watermark on light and dark images already in my gallery using photoshop and they look perfect.

Every time I click an image in the gallery to view it, it shows the original example watermark and not my custom one. 

I have also tried deleting the watermark.png file from the images folder but it still shows. 

As a last resort I even went to admin/tools and deleted original image backup for watermarked images.

Still I am seeing the original sample watermark which doesn't exist in the images folder anymore.

I would like some clarification on how to make this work if it is possible.  Or should I go into the database now and see if I can make it work there?

nootkan

Well the newly uploaded images show my custom watermark but the previously uploaded images show the ugly sample watermark.  I need a way to remove this watermark and I thought by deleting the watermark.php image that would ensure the watermark layer wouldn't show but it still does.

nootkan

Alright I finally figured this out. 

It seems that cpg doesn't apply a layer over the original image but actually embeds it into the image. 

I had to go into my backup and upload all the images again to the albums/userpics folders which removed the sample watermark. 

I cannot however get the new custom watermark to show on the images that were previously uploaded only the newly uploaded ones. 

Glad I don't have hundreds of images to edit in photoshop with a watermark as that would be very time consuming. 

Not sure if it is a possible feature request but it would be nice to have a different way to watermark images that allows for updating previously uploaded images with the new custom watermark no matter what date they were loaded.

One might some day decide to change the watermark to a better looking one or different named one in which case it can't be done the way it is now it seems.