Automatic resize and watermark uploaded pics

Automatic resize and watermark uploaded pics

  1. gomezm0232

    gomezm0232 New Member

    Joined:
    Jun 20, 2014
    Messages:
    3
    Likes Received:
    4
    gomezm0232 submitted a new resource:

    Automatic resize and watermark uploaded pics - Automatic resize and watermark uploaded pics

    Read more about this resource...
     
    Last edited by a moderator: May 17, 2015
    Shaman and fusses like this.
  2. bigal

    bigal Donor Donor

    Joined:
    Nov 2, 2009
    Messages:
    49
    Likes Received:
    1
    Not too flash on PHP coding but would it be feasible to replace watermark with Seller name as watermark?
    Any ideas lets know please.
     
    Skazka252 likes this.
  3. Shaman

    Shaman Active Member

    Joined:
    Feb 8, 2016
    Messages:
    166
    Likes Received:
    33
    If it does not work on WeBid 1.2.1, try this:
    In sell.php
    replace:
    //Copy files
    foreach ($UPLOADED_PICTURES as $k => $v)
    {
    $system->move_file(UPLOAD_PATH . session_id() . '/' . $v, UPLOAD_PATH . $auction_id . '/' . $v);
    chmod(UPLOAD_PATH . $auction_id . '/' . $v, 0777);
    }
    with:
    // Copy files
    foreach ($UPLOADED_PICTURES as $k => $v)
    {
    $old=(UPLOAD_PATH . session_id() . '/' . $v);
    $new=(UPLOAD_PATH . $auction_id . '/' . $v);
    water($old,$new);
    chmod(UPLOAD_PATH . $auction_id . '/' . $v, 0777);
    }
     
  4. cherrymar128

    cherrymar128 New Member

    Joined:
    Oct 22, 2017
    Messages:
    1
    Likes Received:
    0
    ohh dont work´...
     

Share This Page