Login | Sign up
Watermark on photos
Jul 17th 2010, 7:50 pm:
toni

Joined: Jul 8th 2010
View Profile
Send Message

Watermark on photosA new feature request :)

Watermark on photos

One of the secrets of a good social network is the privacy of users.

A watermark in the pictures of users is important.
The watermark may be a "degraded band" with the name of the social network. This watermark can be defined and activated from the admin panel, optional feature.
    Oct 2nd 2010, 3:29 am:
    defender

    Joined: Oct 2nd 2010
    View Profile
    Send Message

    re: toniWATERMARK

    agree and up.

    and

    one question :)

    photo permissions, like private pictures.

    and

    I'm new here . hi all !
    my php is better then my english :D
      Dec 12th 2010, 9:38 pm:
      piprees

      Joined: Dec 8th 2010
      View Profile
      Send Message

      AGREED - Watermark from bottom left to top right - ESSENTIAL
        Dec 12th 2010, 11:12 pm:
        markiemark67

        Joined: Dec 5th 2010
        View Profile
        Send Message

        re: toniAgreed Would be a good add on..
          Dec 13th 2010, 8:12 am:
          eliz

          Joined: Nov 30th 2010
          View Profile
          Send Message

          agreeagree, at the moment, i am thinking about doing it with a cron job, but it will be cool to have it by default.

          this what i was investigating ( i dont control php code )

          <?php

          header('content-type: image/jpeg');

          $watermark = imagecreatefrompng('watermark.png');
          $watermark_width = imagesx($watermark);
          $watermark_height = imagesy($watermark);
          $image = imagecreatetruecolor($watermark_width, $watermark_height);
          $image = imagecreatefromjpeg($_GET['src']);
          $size = getimagesize($_GET['src']);
          $dest_x = $size[0] - $watermark_width - 5;
          $dest_y = $size[1] - $watermark_height - 5;
          imagecopymerge($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, 100);
          imagejpeg($image);
          imagedestroy($image);
          imagedestroy($watermark);

          ?>

          it s taken from

          http://articles.sitepoint.com/article/watermark-images-php

          may be php gurus her can adapt it
            Jan 11th 2011, 6:12 pm:
            webkoot

            Joined: Nov 11th 2010
            View Profile
            Send Message

            dude thats great
              May 2nd 2011, 11:37 pm:
              n3c3sar

              Joined: Mar 25th 2011
              View Profile
              Send Message

              re: elizok...that's gr8 but how i integrate in my website?
              please,tell me....anyone
              Thank's