Difference between revisions of "Watermarking in LX"

From ISoft Wiki
Jump to navigationJump to search
Line 11: Line 11:
   
   
   
   
$Watermarkpercent how large the watermark is relative to source image.
   
   
Padding is how far from edge you want it
$Padding is how far from edge you want it


===Position works like this:===
===Position works like this:===

Revision as of 12:57, 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;


$Watermarkpercent how large the watermark is relative to source image.

$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