Jump to content

Recommended Posts

Posted

How are you using ImageMagick in conjunction with Processwire to watermark / affect a specified images directory automatically?

For my gallery page, I would like to upload images as normal then have ImageMagick watermark the output of them on the website; all this done automatically and on the fly without me having to do anything except create the script :)  Would love to hear your suggestions how this can be done or how you are using ImageMagick in general. Script examples are welcomed! :P

Let's go!

Posted

You don't need imagemagick to do watermarks. horst has an amazing module that can do it for you via GD which is part of PHP:

http://modules.processwire.com/modules/page-image-manipulator/

If you do want to use imagemagick, I would suggest the pecl imagick extension (http://pecl.php.net/package/imagick) - it can handle almost everything that imagemagick can handle and allows you to do it directly from php, rather than via exec system calls.

  • Like 1
×
×
  • Create New...