Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29612
    Profile photo of Raffaele
    Raffaele
    Participant

    Hi there,

    and again thanks for this great plugin! I’m nearly done developing my website after few months of work.

    I would like to change the default center alignment of watermark to move it on the right of the image. Ex. By default ss_watermark will be automatically added starting from the center, but I’d like to have it created starting from the center in the vertical axis and from the right in the horizontal axis.

    I’m think I got to modify the tools-imagemanipulation.php  on the line:

    // calculate the position

    $x = ($iWidth – $wWidth) / 2;

    $y = ($iHeight – $wHeight) / 2;

     

    But I’m not understanding how this works,

    Thanks,

    #29633
    Profile photo of Robin
    Robin
    Keymaster

    Hi there – try removing the /2 on the first line and that should do the trick.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.