Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default PHP Watermaking?

    Hello

    How do i watermark an image if i upload it through a PHP Uploader?

    So I upload something without a watermark, then when i goto the image on my webserver and in the bottom right hand corner it will say BlahBlah.com...

    Thanks
    Tom

    Catzsy (Forum Super Moderator) - Moved to here from website designing. Please try to post in the correct forum.
    Last edited by Catzsy; 05-11-2006 at 01:48 PM.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Try learning PHP GD. www.php.net/gd

  3. #3
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    header('Content-type: image/gif');
    $im = @imagecreatefromgif('test.gif' EDIT THIS');
    $black = imagecolorallocate($im, 0, 0, 0);
    $font = '
    YOURFONTHERE.ttf';
    $text = "Sitename.com";
    imagettftext($im, 6.4, 0, 20, 10, $black, $font, stripslashes($text));
    imagegif($im); 

  4. #4
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default

    There is a watermarking script at gmtt.co.uk
    Never used it though

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •