Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
photon-flip authored Dec 26, 2023
1 parent a6263e3 commit 31eb29a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ This section documents installation instructions for this module.
## Customization

The default instalation contains default webtrees watermar image and a sample photshop PSD template image as a basis for your own personalization.
Simply modify and save with the file name and watermark.png of type .png
Simply modify and saveas with the file name 'watermark.png' of type .png
The size and position of the watermark can be changed with simple modifications to code in the 'webtrees/modules_v4reposition-webtrees-watermark/MyWatermarkFactory.php'
On line 50 change the numbers for $width and $height. These are a scale factor ie. .02 represents 20%.
On line 69 change the position with key words: 'center', 'left', 'right', 'top', 'bottom'
On line 50 '->resize($width * 0.2, $height * 0.2' change the values for $width and $height. These are a scale factor ie. .02 represents 20%.
On line 69 'turn $image->insert($watermark, 'bottom-right');' change the position with key words: 'center', 'left', 'right', 'top', 'bottom'
or combinations thereof, 'top-left' etc.

<a name="persistant cache"></a>
Expand Down

0 comments on commit 31eb29a

Please sign in to comment.