Search found 1 match

Page 1 of 1

Search found 1 match

Re: [How to] Add watermark to image???

Opencart 2.1.0.2 $image = new Image(DIR_IMAGE . $old_image); $image->resize($width, $height); // you have to add this two lines $imageW = new Image(DIR_IMAGE . 'path/to/image/in/image/folder.png'); $image->watermark($imageW, 'bottomright'); // topleft , topright , bottomleft or bottomright $image->s...

Jump to post
  • Thu Apr 06, 2017 6:40 pm
  • Replies 28
  • Views 30326

Page 1 of 1

Search found 1 match