help for phpthumb

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

    help for phpthumb

    friends, if anybody has fully configured n working phpthumb script then pls share here, i tried allot but didnt able to make my thumb work. its giving 404 image url didnt found.. pls help me somebody..

    #2
    Here is what riderz posted i found to be good what it does

    Code:
    <?php 
    $n=$_GET["pic"];
    $neww=100;
    $newh=100;
    list(, , $type,)=@getimagesize($n);
    if ($type==1) {
    $funci='imagecreatefromgif';
    }
    if ($type==2) {
    $funci='imagecreatefromjpeg';
    }
    if ($type==3) {
    $funci='imagecreatefrompng';
    }
    if($type){$im1 = @$funci($n);
    $im2=@imagecreatetruecolor($neww,$newh);
    @imagecopyresized($im2, $im1, 0,0,0,0,$neww,$newh, @imagesx($im1), @imagesy($im1));
    @header('Content-type: image/gif');
    @imagegif($im2);
    }
    ?>
    You better thank him not me ;)
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      only this much code enough to show images?

      Comment


        #4
        Yeah is that so simple and it works
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment

        Working...
        X