Create a watermark image

This script creates a watermarked image from an image file (.jpg .gif or .png). The watermark must be a transparent gif or png image. Save the script into watermark.php.

The process of creating the image are:

  • Create the image and the watermark image using @imagecreatefromgif, @imagecreatefrompng, or @imagecreatefromjpeg.
  • Use the imagecopy to copy part of an image to another image.

You can download the full script here.

Related posts:

  1. Profit from image hosting – part 2
  2. Profit from image hosting – part 1
  3. Fast load image tips
  4. How to protect your images being taken
  5. How to preload your web image?

3 comment(s)

  • May 11, 2009 by imageplanet from ebay image hosting

    i wanted to use this for my site!.. thanks

  • May 11, 2009 by admin

    Cheers!

  • Dec 28, 2009 by Ken

    Just the script that I have been looking for to use with some photos that I want to post on my blog. Thanks!

  • Any feedback from you?

    This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Jun 27, 2008 by

Want to set up your own web server at home? Read this guide

Super Green Hosting HostGator GreenGeeks WP Web Host green web hosting ad