Web based family history software

Question Custom defined watermark image

  • nejman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #1 by nejman
Custom defined watermark image was created by nejman
Hi,
I'm testing a webtrees for several weeks. Great app, and huge improvements in the beta. I like watermark feature, but I cannot find any option how to set a custom image for watermarking... Is is possible to set the watermark image manually? I'm preferring to put watermark image with my pedigree url, and not big W image.

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
5 years 10 months ago - 5 years 10 months ago #2 by bertkoor
Replied by bertkoor on topic Custom defined watermark image
Try replacing (with ftp) the file /resources/assets/img/watermark.png

stamboom.BertKoor.nl runs on webtrees v1.7.13
Last edit: 5 years 10 months ago by bertkoor.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #3 by joeysun
Replied by joeysun on topic Custom defined watermark image
bertkoor,
Sorry to be so stupid, but I cannot find the file nor the folders involving /resources/assets/img/watermark.png

Doug
webtrees v2.1.19 at Our Family Tree (Jiapu 家譜/家谱)
PHP Version v8.1.x, LiteSpeed V8.1, MariaDB 15.1 | protected/'hindered' by ModSecurity

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #4 by Luenissla
Replied by Luenissla on topic Custom defined watermark image
I too. ;-)

But the watrmarks in my tree are not a big "W":
datenpool.bvff.de/individual.php?pid=1-I...SCHLOSS_BDP_UTF8.ged

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

  • nejman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #5 by nejman
Replied by nejman on topic Custom defined watermark image
joeysun> Are you using the latest commit from GIT? Maybe other versions are using different image or text. In my build I can found watermark.png image and this file is really used for watermarking. I checked the code and it looks the watermarking is done in the vendor/league/glide/src/Manipulators/Watermark.php
file. I'm working on small patch that replace image with watermarking text...

Please Log in or Create an account to join the conversation.

  • nejman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #6 by nejman
Replied by nejman on topic Custom defined watermark image
Luenissla: Did you patched the latest version? Or do you using some old version? it looks the patch is easy by puting $image->text in Watermark.php file. But maybe cleaner solution is add a new option "watermark text" in manage tree preferences ...

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
5 years 10 months ago - 5 years 10 months ago #7 by bertkoor
Replied by bertkoor on topic Custom defined watermark image
New style: dev.webtrees.net/demo-dev/index.php?ged=...pe=&filter=&action=1

The big W as watermarks is only in the latest beta. What version do you run? Did you maybe try the beta and reverted back? Then the watermarked images stayed there.

v1.7 (current release) and previous put the title of the tree across (as on your and my own tree)
stamboom.bertkoor.nl/mediaviewer.php?mid=M87&ged=BertKoor
(click on the image, I don't watermark thumbnails)

stamboom.BertKoor.nl runs on webtrees v1.7.13
Last edit: 5 years 10 months ago by bertkoor.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #8 by Luenissla
Replied by Luenissla on topic Custom defined watermark image
No i did not patched. I use the version 1.7.9.

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #9 by joeysun
Replied by joeysun on topic Custom defined watermark image

Are you using the latest commit from GIT?


I also use only 1.79 stable. Is there a list of beta patches or should I install the latest commit? Sorry, but totally intimidated by Git and really unsure what to download. Sometime the enemy of a good website is trying to make it better.

I know 2.0 is coming out, so I would like to install all the greatest and most stable patches. Can I get someone to ELI5 (explain like I'm 5y/0) and point me to the other stable patches I should install

Doug
webtrees v2.1.19 at Our Family Tree (Jiapu 家譜/家谱)
PHP Version v8.1.x, LiteSpeed V8.1, MariaDB 15.1 | protected/'hindered' by ModSecurity

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #10 by fisharebest
Replied by fisharebest on topic Custom defined watermark image
I changed from "watermark text" to "watermark image" because the text/graphics functions do not work well with non-latin characters (e.g. hebrew, arabic, chinese, etc.).

> Try replacing (with ftp) the file /resources/assets/img/watermark.png

The watermarked files are cached.

If you change this file, you may need to delete the cache files, which are currently stored in data/thumbnail-cache/*

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #11 by fisharebest
Replied by fisharebest on topic Custom defined watermark image
> Can I get someone to ELI5 (explain like I'm 5y/0) and point me to the other stable patches I should install

1.7.9 is the latest stable release. Most people should stay with this version.
I know it is 18 months old, but it is stable/mature and has no significant issues.

I originally estimated that the internal rewrite for 2.0 would take 6 months.
It has actually taken nearly three times this. Mostly because I kept finding
more things that needed to be updated.

But, I am making steady progress, and have only a few more modules to
update before I can release 2.0.0-alpha.

This should be safe/stable, but it will need work on styling/themes.

I'll then work on the styling/themes (and any feedback) to create one or more beta releases.

Once it is looking pretty, I will release 2.0.0 and people should see it in
their auto-update.

TL;DR - stick with 1.7.9.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #12 by joeysun
Replied by joeysun on topic Custom defined watermark image
thank you fisharebest.

I did not intend to sound like I was complaining about when 2.0 would emerge. I just wanted to bring my 1.79 as up to date before all the attention of the Forum turns to 2.0.

I will just install the watermark patch.

Again, I want to thank you and all the developers for such a wonderful job in webtrees. All the work is truly appreciated.

Doug
webtrees v2.1.19 at Our Family Tree (Jiapu 家譜/家谱)
PHP Version v8.1.x, LiteSpeed V8.1, MariaDB 15.1 | protected/'hindered' by ModSecurity

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}