Difference between revisions of "Watermarking in LX"
From ISoft Wiki
Jump to navigationJump to search
m (Created page with "==Watermarking in LXpro and LXQ == Right now there are a set of variables in the code that have to be set, but will be pulled out as next step. *$paddingx = 10; *$paddingy = 10;...") |
m |
||
Line 1: | Line 1: | ||
==Watermarking in LXpro and LXQ == | ==Watermarking in LXpro and LXQ == | ||
Variables are set in config.inc.php at the moment Defaults are shown | |||
*$watermarkfilename = 'logo.png'; | |||
*$paddingx = 10; | *$paddingx = 10; | ||
*$paddingy = 10; | *$paddingy = 10; | ||
Line 11: | Line 12: | ||
Padding is how far from edge you want it | |||
===Position works like this:=== | |||
{| class="wikitable" | {| class="wikitable" | ||
| top left | | top left |
Revision as of 11:55, 27 June 2016
Watermarking in LXpro and LXQ
Variables are set in config.inc.php at the moment Defaults are shown
- $watermarkfilename = 'logo.png';
- $paddingx = 10;
- $paddingy = 10;
- $xposition = 'right'; // left, middle, right
- $yposition = 'bottom'; // top, middle, bottom
- $watermarkpercent = 0.25;
- $iswatermark = true;
Padding is how far from edge you want it
Position works like this:
top left | top middle | top right |
middle left | middle middle | middle right |
bottom left | bottom middle | bottom right |
watermark percent is kinda wonky. but it controls how large the watermark is relative to source image.