Page 1 of 1

watermark

Posted: 11 Dec 2024, 15:28
by Faust
Hi. I was looking to add watermark on all my images on the website. I was looking on forum, there is only some option to add individually. Would be possible to add to all images, but not affecting fotomoto prints?

Re: watermark

Posted: 11 Dec 2024, 21:15
by mjau-mjau
Hi Faust. Unfortunately, this is not possible from X3 for a few reasons:
  • Adding watermarks on already compressed JPG images, causes the images to be re-compressed after creating the watermark. Although the impact may be minimal, it's not generally good practice.
  • Creating watermarks would require ImageMagick, which isn't available in most shared hosting.
For the above reasons, it's not feasible to attempt to add watermarking action to X3.

Instead, there is an option to add watermarks ON UPLOAD from the Files Gallery interface. With this, it means the watermarks get added during the upload process, and will therefore resize and compress in the same single process. Also, since the process is done from browser, it doesn't require ImageMagick or any specific server features. Unfortunately, this is not possible for already-uploaded images.

If you wanted to look further into this:
https://demo.files.gallery/?samples/watermark DEMO
https://www.files.gallery/docs/image-watermarking/ DOCS
https://www.photo.gallery/docs/plugins/files-gallery/ Files Gallery in X3

Re: watermark

Posted: 12 Dec 2024, 02:43
by Faust
mjau-mjau wrote:
11 Dec 2024, 21:15
Hi Faust. Unfortunately, this is not possible from X3 for a few reasons:
  • Adding watermarks on already compressed JPG images, causes the images to be re-compressed after creating the watermark. Although the impact may be minimal, it's not generally good practice.
  • Creating watermarks would require ImageMagick, which isn't available in most shared hosting.
For the above reasons, it's not feasible to attempt to add watermarking action to X3.

Instead, there is an option to add watermarks ON UPLOAD from the Files Gallery interface. With this, it means the watermarks get added during the upload process, and will therefore resize and compress in the same single process. Also, since the process is done from browser, it doesn't require ImageMagick or any specific server features. Unfortunately, this is not possible for already-uploaded images.

If you wanted to look further into this:
https://demo.files.gallery/?samples/watermark DEMO
https://www.files.gallery/docs/image-watermarking/ DOCS
https://www.photo.gallery/docs/plugins/files-gallery/ Files Gallery in X3
Thanks. I had a look at them documents, and I thought I could edit the current files as well.

I use to run photography site in Koken. And remember they had watermark plugin. Thought I could ask here, maybe there’s something planned like this.

Re: watermark

Posted: 12 Dec 2024, 04:22
by mjau-mjau
Faust wrote:I use to run photography site in Koken. And remember they had watermark plugin. Thought I could ask here, maybe there’s something planned like this.
Unless I am mistaken, in Koken you upload and maintain large original images, and all variations are then created from the original. This means that when you add a watermark, all variations would be (re-)created with the watermark, while the original image remains unaffected. This means there is no specific loss of quality when watermark (and all variations) are created from the large original. In X3, the "large" file is the one uploaded and viewed by visitor, which is (should be) already resized and compressed.

It could be something like this could be available in the distant future, but then part of X4.
Faust wrote:Thanks. I had a look at them documents, and I thought I could edit the current files as well.
Not from the X3 panel. If you have imagemagick and can use SSH (terminal command-line), then there might be a script that could loop through all images in your content and add a watermark.

Re: watermark

Posted: 12 Dec 2024, 14:05
by Faust
Unless I am mistaken, in Koken you upload and maintain large original images, and all variations are then created from the original. This means that when you add a watermark, all variations would be (re-)created with the watermark, while the original image remains unaffected. This means there is no specific loss of quality when watermark (and all variations) are created from the large original. In X3, the "large" file is the one uploaded and viewed by visitor, which is (should be) already resized and compressed.
I think you are right. It was original photo size. I guess make sense what you are saying.
Hopefully you can add such feature in the future :)