Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library-image->watermark not work #3119

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

library-image->watermark not work #3119

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

Comments

@opencart-russia
Copy link
Contributor

Hi. In image library function watermak not work.
\system\library\image.php

  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
Copy link
Contributor

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

@idcorp
Copy link

idcorp commented Apr 10, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants