[TUTORIAL] How to Watermark all Your Uploaded Images With a Simple Script

Discussion in 'PHP & Perl' started by jetiz, Apr 22, 2010.

  1. jetiz

    jetiz Junior Member

    Joined:
    Jan 16, 2010
    Messages:
    174
    Likes Received:
    62
     
    • Thanks Thanks x 2
  2. Killswitch

    Killswitch BANNED BANNED

    Joined:
    Aug 9, 2009
    Messages:
    14
    Likes Received:
    5
    Looks good, although one thing I'd suggest is not to search for thumbnail by filename, but to use the dimensions of the image itself to see if it's to small to watermark or not.
     
  3. tacopalypse

    tacopalypse Executive VIP Jr. VIP Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    987
    Likes Received:
    2,502
    Home Page:
    that's fuckin awesome. i'm actually learning php right now. i had no idea functions already existed that could do stuff like that.
    :D
     
  4. ghprod

    ghprod Regular Member

    Joined:
    Mar 18, 2009
    Messages:
    230
    Likes Received:
    40
    Home Page:
    this is nice trick but if you get a lot of visitor then your hosting will screaming ... lol ..