PHP, coupled with Apache rewriting, lets watermark "on the fly" and transparently, without modifying the original image.
With this php script you can water mark images on the fly without modifying the original image. The script is executed with .htaccess file.