Watermark Module for Drupal

Posts: 4
Joined: 02/22/2008

[In reference to http://www.ubercart.org/docs/user/2504/watermarking_product_images.]

Greetings!

First off, thanks for the great tutorial and great imagecache patch. I'm just wondering why I couldn't find this on Drupal.org? I badly needed a Watermark module and there's only one Drupal Watermark module available on the drupal modules page but this "imagecache patch" is much better in my opinion -- and it also works independent of Ubercart.

Is there a way you can contribute this as a module or option to be integrated into imagecache?

I know this kind of thing takes valuable time (and I would volunteer if I knew how to do it but unfortunately I don't know php), nonetheless my suggestion would be to collaborate with the imagecache team and make this watermark an imagecache extention somehow.

Again, I appreciate your work and I'm stoked to have a solution. I just don't know how likely it is for other people like me to find this patch and tutorial because many of us need this in an environment that has nothing to do with Ubercart (btw, no offense, Ubercart is awesome and I use it on several projects Smiling

Cheers!
Govatron

Posts: 5379
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Just wanted to post here a link to a new Imagecache module that does watermarking out of the box and much more. For those that find this thread, you should check out the screenies at http://drupal.org/project/imagecache_actions and be amazed. Smiling

Posts: 2273
Joined: 08/07/2007
AdministratoreLiTe!

Some caveats, before someone goes haring off into the wild unknown:

  • When upgrading to Imagecache 2, be sure to disable Thickbox and enable ImageAPI first. Bad things will happen otherwise.
  • Make sure the menu cache is flushed once you have upgraded to Imagecache 2. The old menu item for image cache settings has been moved.
  • Even bigger gotcha! You need to enable Imagecache UI to be able to create or modify presets. This is now under Site building.
  • Ubercart had created actions that have been turned into the Deprecated Scale action. I'll have to tinker around to see if I can change these automatically, but I don't know how feasible that is. Add a Scale action of the same dimensions and delete the Deprecated one for now. Or have fun with the the other actions too. Smiling
Posts: 70
Joined: 04/14/2008

Imagecache 2 looks awesome. Is it conceivable to tie in imagecache processing (specifically some of the new compositing functionality) to attribute changes using jquery?