Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
One thing missing is watermark functionality. Would be nice to have this feature.
Other than that, great module. Very intuitive and a much better than all the other image modules I've tired.
Comments
Comment #1
hutch CreditAttribution: hutch commentedI have no idea how that would be done, imagemagick or somesuch. Image professionals tell me they always do their watermarking before uploading, that way they can make undoing watermarks more difficult ;-)
If you can point me to existing functions that can easily be used I'll look into it, or write a patch!
Comment #2
Rewted CreditAttribution: Rewted commentedHutch,
PHP GD2 and ImageMagick will both do the trick. Though GD2 is the less powerful of the two, I believe it is part of PHP5 and doesn't require an additional package so most people using Drupal will already have the functionality. I did a quick Google search on "Watermark with PHP GD2" and found a few examples. Alternativly with PHP you could use CopyMerge.
http://www.php.net/manual/en/function.imagecopymerge.php
With ImageMagick, you'd need to do a check to see if it's installed. Mainly you need "/user/bin/composite" (On Linux systems). The command is something like:
composite -dissolve 15 -tile watermark.png src.jpg dst.jpg
http://www.imagemagick.org/script/command-line-options.php#composite
Comment #3
hutch CreditAttribution: hutch commentedThanks! I will investigate the possibilities
Comment #4
hutch CreditAttribution: hutch commentedWatermarks now in dev version, please test
Comment #5
hutch CreditAttribution: hutch commented