How to automatically add watermarks to uploaded images

Updated: 24 June, 2014 seen 7,296

If you are making photos and publicizing them to internet - sooner or later you will find that you want to protect them somehow. Protect from people stealing your artworks and re-publishing pictures in other places. One way to protect images is to add watermarks. Well it doesn't mean someone still wont steal your pictures, but at least your watermark will be on. 


I have found one solution in Drupal 7, using ImageCache action module:

As you can see on picture above - I have added simple watermark on bottom right corner. And it's done with Drupal Image Cache actions module.

  • Download ImageCache actions module
  • Extract to sites/all/modules
  • Enable Imagecache Canvas Actions


Now go to your image style settings (admin/config/media/image-styles) and add new or edit existing image style.

Here you can see I have added new Effect Overlay (watermark) and added image on that.

You can use some photo editing software to create your image to add on image, or you can use your existing logo, for example. I created simple .png transparent file with text on that, and rotated it 90°

Image Cache actions gives you some options were to place watermark. I have chosen to place it bottom right. 

I would call this fool proof solution, to protect your images. Negative aspect is that, if you are familiar with Drupal file upload path settings you can easily take original image, which came without watermark. On the other hand, I guess you can use some permissions, to disallow users to access original files. Not sure, right now.


How do you protect your images?