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..
help for phpthumb
Started on the old forum in July 2010 · view the original in the archive · old links redirect here
Here is what riderz posted i found to be good what it does
<?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... _______…
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... _______…