library-image->watermark not work #3119

opencart-russia opened this Issue Jun 21, 2015 · 2 comments


None yet

4 participants


Hi. In image library function watermak not work.

  1. See line:
    private function create($image) {
    $mime = $this->info['mime'];
  2. See line:
    imagecopy($this->image, $watermark, $watermark_pos_x, $watermark_pos_y, 0, 0, 120, 40);
CoverUp commented Jun 21, 2015

Works for me, idk what r u pointing here, lines r correct.
BTW i use this instead for customization purposes
imagecopy($this->image, $watermark, $watermark_pos_x, $watermark_pos_y, 0, 0, $watermark_width, $watermark_height);//CoverUp

@danielkerr danielkerr closed this Aug 8, 2015
@danielkerr danielkerr added a commit that referenced this issue Aug 8, 2015
@danielkerr danielkerr #3119 8afa9b6
idcorp commented Apr 10, 2016

How I can insert watermark on all images in the OP 2.2, I can not solve .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment