watermark on image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    watermark on image

    how can i add?
    anyone?

    #2
    you can do it this way:

    PHP Code:
    $watermark = @imagecreatefrompng('./watermark.png');           $imagewidth = imagesx($file);           $imageheight = imagesy($file);           $watermarkwidth = imagesx($watermark);           $watermarkheight = imagesy($watermark);           $startwidth = (($imagewidth - $watermarkwidth)/1);           $startheight = (($imageheight - $watermarkheight)/1);           imagecopy($file, $watermark, $startwidth, $startheight, 0, 0, $watermarkwidth, $watermarkheight);           imagedestroy($watermark); 
    Advertise your mobile site for FREE with AdTwirl

    Comment


      #3
      the process is called coding and learning simple basics in php to be able to understand the code.
      Advertise your mobile site for FREE with AdTwirl

      Comment


        #4
        Try studying at php.net and w3schools.org .I was just like u, but now after studying at these sites, i am now happy to call my self a php understander:-)

        Comment

        Working...
        X