Watermark modification for PHP gallery  

 

Last modif :
January 20th, 2004

Last tested on :
Gallery v1.4.1



Description :

Based on the post by semisphere in the gallery forums.
This mod automaticly add a watermark to every pictures viewed.

This is the logo i used to do the transparency
VM logo png

Installation :

  • Instructions provided in INSTALL.watermark
  • HELP / DONATIONS :

  • Free on the gallery forum ( when i've time basis )
  • RUSH help or custom mod available via email, look at the paypal button at your left ;-)
  • COMMERCIAL versions :

  • Contact me by email for options : jflaflamme at votremedia dot com


  • DOWNLOAD : zip tar.gz

           	
    Watermark_mod-0.4.2
    	
    	By Jean-Francois Laflamme <jflaflamme at votremedia dot com>
    	
    	http://www.votremedia.com/gallery/watermark_mod
    
            ------------------------------------------------------------
            January 20 2004
            ------------------------------------------------------------
              Fixed bug in the Album.php patch about watermarked thumbs
    	  with option turned off, may fix problem with highlights also
    	        
            ------------------------------------------------------------
            January 10 2004
            ------------------------------------------------------------
              After couple of emails and a big lack of time from my side
              to follow versions, i'll just explain how to make it, for
              gallery releases, it should work with all 1.x versions.
               
              Files provided
     
              INSTALL.watermark     : Installation instructions
              README.watermark      : this file ;-)
              config_watermark.php  : watermark configuration
              watermark.php         : the program itself
            
    	------------------------------------------------------------
            December 29th 2003 (never released)
            ------------------------------------------------------------
            - v1.4.1 compliant
    	- Added server-side disk caching (doubles disk usage) 
    	  Credit : Luke Stepniowski ( http://www.majjix.com ) 
            - GD v1 no longer supported
            - Patch files are used to easy the upgrade process ( diff -c output )
    	- FONTS NOT PROVIDED WITH THIS SCRIPT ANYMORE
    	  Anti-aliased fonts are available in t1lib
    	  unices:	ftp://sunsite.unc.edu/pub/Linux/libs/graphics/
    	  win32:	http://gnuwin32.sourceforge.net/packages/t1lib.htm
            
    	------------------------------------------------------------
            September 16th 2003
            ------------------------------------------------------------
            - v1.4pl1 compliant
            - I build two versions, one for gd2 and another to work with the gd ( some isp )
    	- Added settings to enable/disable watermarking on each gallery ( album properties )
    	
    	------------------------------------------------------------
    	August 5th 2003
    	------------------------------------------------------------
    	- added flag debug=1 to obtain watermark_mod version and phpinfos
    	- move ImagePS functions under eval, prevent crashing when t1lib is unavailable
    
    	------------------------------------------------------------
    	August 4th 2003
    	------------------------------------------------------------
    	- Added global variables to choose if you want watermark for thumbs
    	- encoding file now optional ( only needed fot accented characters )
     	- code cleaned up a bit to make it readable
    	- v1.3.4-pl1 compliant
    	------------------------------------------------------------
    	
    	------------------------------------------------------------
    	February 26th 2003
    	------------------------------------------------------------
    	- Added text features ( PHP compiled with Freetype2 )
    	- code cleaned up a bit to make it readable
    	- added PNG support for watermark image
     	- fixed scaling bug
    	------------------------------------------------------------
    	
    	
    	- todo / *hint*
    	  ImagePsText have incredible output quality, but only when you specify the right background color.
    	  We all know that's not every image who has the same background color in an album ....
    
    	

     

    Screenshots

    Image watermark 2
    Text watermark 2
    Image watermark 1
    Text watermark 1

     

         
      Questions or comments ? jflaflamme@votremedia.com  
      ©2003-2004 VOTREMédia.com