Image resize script alternative WeBid 1.2.* ONLY

Replaces stock image resize script with mThumb

  1. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    pani100 submitted a new resource:

    Image resize script alternative - Replaces stock image resize script with mThumb

    Read more about this resource...
     
  2. jurekni

    jurekni Member

    Joined:
    Feb 13, 2017
    Messages:
    32
    Likes Received:
    2
    Welcome to the New Year 2018
    I have a question for Pani100 how to change the code below in the file getthumb php in order to make the image in format e w = 400px h = 300px
    if (isset($_GET['fromfile'])) { $_GET['src'] = $_GET['fromfile']; }
    if (isset($_GET['w'])) { $_GET['h'] = $_GET['w']; }
    $_GET['zc'] = '2'; // can be 1 , 2 or 3
     
  3. jurekni

    jurekni Member

    Joined:
    Feb 13, 2017
    Messages:
    32
    Likes Received:
    2
    this applies, of course, to the background size
     
  4. Cash Crusaders NZ

    Cash Crusaders NZ New Member

    Joined:
    Mar 12, 2018
    Messages:
    28
    Likes Received:
    2
    As much as we appreciate contributions like this, it would be helpful to consider that not all of us are even remotely trained in PHP code. It would be nice if you could change the installation instructions for dummies like me. Fore instance, exactly where to insert or what piece of code to replace with the recommended code.

    Can you perhaps help as I am not sure what code to replace with yours or where to insert. I can cut and paste or insert............at least.
     
  5. jurekni

    jurekni Member

    Joined:
    Feb 13, 2017
    Messages:
    32
    Likes Received:
    2
    Here is the ready file getthumb.php to download after changing the format of the background to the format 4: 3 400px x 300px
     

    Attached Files:

  6. jurekni

    jurekni Member

    Joined:
    Feb 13, 2017
    Messages:
    32
    Likes Received:
    2
    I work well in version 1.2
     
  7. Cash Crusaders NZ

    Cash Crusaders NZ New Member

    Joined:
    Mar 12, 2018
    Messages:
    28
    Likes Received:
    2
    Thank You. Appreciated.
     

Share This Page