Watermarking photographs

  1. xFamily
  2. » Multimedia
  3. » Watermarking photographs

Get Email Updates Email this Topic Print this Page

Reply Sun 13 Mar, 2005 04:55 pm
Watermarking photographs
Craven and I were discussing adding a watermark to each and every photograph we upload. What does everyone think about this? Should we come up with a consistent image to rasterize, emboss, and blend into the images?
 
WalkerJ 1
 
Reply Sun 13 Mar, 2005 05:16 pm
I have a PHP script that will insert a watermark dynamically, but I'm not sure how we can integrate it into the Wiki software.

The way it works is that in place of the url in the
Code:SRC
attribute of the
Code:<IMG>
tag, the script is referenced in place of the actual file.

I.E.: in stead of
Code:<IMG SRC="my_photo.jpg">
you would have
Code:<IMG SRC="watermark.php?photo=my_photo.jpg">


Another option would be to hardcode a function call (to a function that inserts a watermark) into the script that handles uploading and saving of images, as well as the script that generates and saves the thumbnails.

I may be able to hardcode this myself. I'll download a copy of the WikiMedia software and see if I can get it to work on my computer. I'll send Craven the modified scripts when I've figured it out.
 
Craven de Kere 1
 
Reply Sun 13 Mar, 2005 06:09 pm
It might be easier to use mod_rewrite to rewrite to a standalone watermark app on the fly than to try to hack wiki and it would make upgrades easier as well.

i.e.

/original-image-directory/request is rewritten to /water-mark-directory/request and the script residing in the watermark directory pulls in the image (using absolute path as a url would inf-loop it) and marks it.
 
WalkerJ 1
 
Reply Sun 13 Mar, 2005 07:48 pm
True. I'd forgotten about the updates.

Can I send you the script so you can upload it?
 
Craven de Kere 1
 
Reply Sun 13 Mar, 2005 08:06 pm
Sure, just send it to the xfamily email and I'll get it. Is it Imagemagik or GD that it uses?

Thing is, we should probably decide whether we want all images watermarked (I'd been thinking just the ones we released into the wild).
 
Monger 1
 
Reply Sun 13 Mar, 2005 09:20 pm
Either way is cool with me....

I'd definitely like to have at least the ones we've released watermarked.
 
WalkerJ 1
 
Reply Sun 13 Mar, 2005 11:48 pm
The script uses GD.

I'm not sure how we could set it up so that it distinguishes between photos that should be watermarked and those that shouldn't.

I could only set up the script so that any and every non-thumbnail image accessed through it would have a watermark.
 
Craven de Kere 1
 
Reply Thu 17 Mar, 2005 10:04 am
Hmm, it may not be worth the trouble (I'd be wary of watermarking images we use under fair use).
 
Monger 1
 
Reply Tue 29 Mar, 2005 09:07 pm
Just thought I'd note that in the channel 8 coverage of the Ricky memorial, they used one of the photos of Zerby & Kelly we released. It can be seen here: http://www.xfamily.org/index.php/Ricky_Rodriguez_Memorial#Press
 
 

 
  1. xFamily
  2. » Multimedia
  3. » Watermarking photographs
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.05 seconds on 12/22/2024 at 12:29:09