MOD Description: Add a copyright watermark to images hosted on your server
MOD Version: 1.0.1
MOD Download: Last Stable version: N/A
Demo Board: BBM's Test Forum
Demo Username: Copyright Watermark Demo
Demo Password: wmDmuZe2
Version History:
1.0.1: Fixed bugs with MOD validation
1.0.0: Works with PNG-24 alpha layer
0.1.2: Rescued update to fix bug in 0.1.1 (config options were getting included after $domains and $copyright_image_path were needed)
0.1.1: Moved config vars to a config file
Moved files into own folder
Added 1 config var
0.1.0: Config vars
0.0.5: Resize & tile copyright image if needed
0.0.4: Tile copyright image
0.0.3: Add copyright image
0.0.2: Add orange text w/black shadow
0.0.1: Add orange text '(c) My Forum.com' to top center of image
0.0.0: Code example on php.net
Progress:
|||||100%|||||
REQUIRES the GD library php_gd2.dll (this is bundeled with PHP 4.3 and greater, but is not defaulted as an included extension in php.ini)
Features:
- '© Myforum.com' GIF Image (black text, 2px white stroke, Teen font, transparent background) to use as watermark
- Support for PNG, JPEG/JPG, and GIF images (web standrad images, and though tiff and bmp should be possible to support as well, I have no plans for including them)
- Copyright image may resize and/or tile based on the size of the image being viewed:
- If the copyright is taller but the image is wider, the copyright scales so that it is the same height as the image, and then repeats horizontally with 30px between each image
- If the copyright is wider but not taller, the copyright scales so that it is the same width as the image, and then repeats vertically, as well as alternating horizontally like bricks
- If the copyright is wider and taller, the copyright keeps its size and the image is placed under it (currently left-aligned, but I plan to center-align it)
- If the copyright is neither wider nor taller than the image, is is repeated horizontally and vertically, alternating like bricks
- Copyright is placed on image with configured% merging
- Script called by bbcode.tpl's image section
- Configuration options
- PNG-24 alpha layer support
- Possible workaround nonincluded gd libs?